diff options
author | merakor <cem@ckyln.com> | 2021-07-27 09:23:22 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-07-27 09:23:22 +0000 |
commit | 57093831d9c125b1ee872ecf21792324d2238354 (patch) | |
tree | 4ce7f857fcba417dbe709bf7a6ec1b61e8053f60 | |
parent | b18adcfd202ea80581e57df08a3fe559f9a78ae4 (diff) | |
download | cpt-57093831d9c125b1ee872ecf21792324d2238354.tar.gz |
Makefile: update test targets
FossilOrigin-Name: 5e9fa6e8cf409564df3dd794ff0705fb43df65d142cb65daf56034bf31ae1671
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -16,10 +16,14 @@ src/cpt-lib: src/cpt-lib.in -e "s|@DOCSTRING@|Call functions from the library|g" < src/cpt-lib.in > $@ chmod 755 $@ -test: all tests/etc/cpt-hook +shellspec: all tests/etc/cpt-hook shellspec + +shellcheck: all cd src; find . ../contrib -name 'cpt*' ! -name '*.*' -exec shellcheck -e 2119 -x -f gcc {} + +test: shellspec shellcheck + tests/etc/cpt-hook: ln -s ../hook-file $@ @@ -47,4 +51,4 @@ clean: rm -rf src/cpt-lib "cpt-${VERSION}.tar.xz" coverage report rm -f tests/etc/cpt-hook -.PHONY: all dist clean install uninstall +.PHONY: all dist clean install uninstall shellspec shellcheck test |