mirror of
https://github.com/cc65/cc65.git
synced 2024-12-26 08:32:00 +00:00
rename the "check" target to "checkstyle".
also created a new "check" target which runs all tests, as it is common with GNU programs
This commit is contained in:
parent
1a5852ab91
commit
75441afb71
2
.github/workflows/build-on-pull-request.yml
vendored
2
.github/workflows/build-on-pull-request.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
- name: Do some simple style checks
|
||||
shell: bash
|
||||
run: make -j2 check
|
||||
run: make -j2 checkstyle
|
||||
- name: Build the tools.
|
||||
shell: bash
|
||||
run: make -j2 bin USER_CFLAGS=-Werror
|
||||
|
@ -48,7 +48,7 @@ jobs:
|
||||
|
||||
- name: Do some simple style checks
|
||||
shell: bash
|
||||
run: make -j2 check
|
||||
run: make -j2 checkstyle
|
||||
- name: Build the tools.
|
||||
shell: bash
|
||||
run: |
|
||||
|
23
Makefile
23
Makefile
@ -1,4 +1,4 @@
|
||||
.PHONY: all mostlyclean clean install zip avail unavail bin lib doc html info samples test util check
|
||||
.PHONY: all mostlyclean clean install zip avail unavail bin lib doc html info samples test util checkstyle check
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
@ -30,12 +30,6 @@ doc html info:
|
||||
samples:
|
||||
@$(MAKE) -C samples --no-print-directory $@
|
||||
|
||||
test:
|
||||
@$(MAKE) -C test --no-print-directory $@
|
||||
|
||||
check:
|
||||
@$(MAKE) -C .github/checks --no-print-directory $@
|
||||
|
||||
util:
|
||||
@$(MAKE) -C util --no-print-directory $@
|
||||
|
||||
@ -44,3 +38,18 @@ util:
|
||||
|
||||
%:
|
||||
@$(MAKE) -C libsrc --no-print-directory $@
|
||||
|
||||
# check the code style
|
||||
checkstyle:
|
||||
@$(MAKE) -C .github/checks --no-print-directory $@
|
||||
|
||||
# simple "test" target, only run regression tests for c64 target
|
||||
test:
|
||||
@$(MAKE) -C test --no-print-directory $@
|
||||
|
||||
# GNU "check" target, which runs all tests
|
||||
check:
|
||||
@$(MAKE) -C .github/checks --no-print-directory $@
|
||||
@$(MAKE) test
|
||||
@$(MAKE) -C targettest platforms --no-print-directory
|
||||
@$(MAKE) -C samples platforms --no-print-directory
|
||||
|
Loading…
Reference in New Issue
Block a user