mirror of
https://git.chefkoch.net/pub/make-deploy
synced 2025-05-12 18:44:56 +00:00
add build and test targets
This commit is contained in:
parent
224e1b3cf0
commit
489e9b4593
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -17,7 +17,7 @@ deploy: build test upload pre-deploy pre-local pull start post-local post-deploy
|
|||
build:
|
||||
ifneq (,$(wildcard build.sh))
|
||||
@- echo "\n### running build script"
|
||||
@- ./build.sh || (echo "### build failed $$?"; exit 1)
|
||||
./build.sh
|
||||
else
|
||||
@- echo "\n### no build script found"
|
||||
endif
|
||||
|
@ -25,7 +25,7 @@ endif
|
|||
test:
|
||||
ifneq (,$(wildcard test.sh))
|
||||
@- echo "\n### running test script"
|
||||
@- ./test.sh || (echo "### test failed $$?"; exit 1)
|
||||
./test.sh
|
||||
else
|
||||
@- echo "\n### no test script found"
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue