diff options
| author | Ben Fuhrmannek | 2022-01-12 10:41:06 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2022-01-12 10:41:06 +0100 |
| commit | 81486800337074b7edf8d87e7074e8ea0e8e9f31 (patch) | |
| tree | d4ba312b47185101b6bcc859166ea54ff50d23c4 | |
| parent | 22aeaa944bf5e0646b6ec06995a184d64a55ded0 (diff) | |
fixed newlines + typo
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -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 | ||
| 29 | linked-clone: | 29 | linked-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 | ||
| 38 | tests: release ## compile a release build and run the testsuite | 38 | tests: 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 |
