summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Fuhrmannek2022-01-12 10:41:06 +0100
committerBen Fuhrmannek2022-01-12 10:41:06 +0100
commit81486800337074b7edf8d87e7074e8ea0e8e9f31 (patch)
treed4ba312b47185101b6bcc859166ea54ff50d23c4 /Makefile
parent22aeaa944bf5e0646b6ec06995a184d64a55ded0 (diff)
fixed newlines + typo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c480593..51c6cc9 100644
--- a/Makefile
+++ b/Makefile
@@ -27,13 +27,13 @@ docker: ## start docker container with current PHP
27 docker run -it -v "$$(pwd)":/sp $(DOCKER_IMAGE) /bin/bash 27 docker run -it -v "$$(pwd)":/sp $(DOCKER_IMAGE) /bin/bash
28 28
29linked-clone: 29linked-clone:
30 @if [[ "$(CLONE)" == "" ]]; then echo "==> Please provide clone name, e.g.\n make linked-clone CLONE=php8.1"; exit 1; fi 30 @if [[ "$(CLONE)" == "" ]]; then echo -e "==> Please provide clone name, e.g.\n make linked-clone CLONE=php8.1\n"; exit 1; fi
31 @if [[ -d "src-$(CLONE)" ]]; then echo "==> Clone '$(CLONE)' already exists."; exit 1; fi 31 @if [[ -d "src-$(CLONE)" ]]; then echo -e "==> Clone '$(CLONE)' already exists.\n"; exit 1; fi
32 @echo "==> CREATING LINKED CLONE IN 'src-$(CLONE)' <==" 32 @echo "==> CREATING LINKED CLONE IN 'src-$(CLONE)' <=="
33 mkdir "src-$(CLONE)"; cd "src-$(CLONE)"; \ 33 mkdir "src-$(CLONE)"; cd "src-$(CLONE)"; \
34 SRCDIR=../src; ln -s $$SRC/*.[hc] $$SRCDIR/config.m4 $$SRCDIR/snuffleupagus.php $$SRCDIR/Makefile.frag $$SRCDIR/*.re .; \ 34 SRCDIR=../src; ln -s $$SRCDIR/*.[hc] $$SRCDIR/config.m4 $$SRCDIR/snuffleupagus.php $$SRCDIR/Makefile.frag $$SRCDIR/*.re .; \
35 cp -r $$SRCDIR/tests . 35 cp -r $$SRCDIR/tests .
36 @echo "==> DONE. <==\nCompile a debug build with\n make compile_debug SRC=src-$(CLONE)" 36 @echo -e "==> DONE. <==\nCompile a debug build with\n make compile_debug SRC=src-$(CLONE)"
37 37
38tests: release ## compile a release build and run the testsuite 38tests: release ## compile a release build and run the testsuite
39 TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 SP_SKIP_OLD_PHP_CHECK=1 make -C $(SRC) test 39 TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 SP_SKIP_OLD_PHP_CHECK=1 make -C $(SRC) test