We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 107ead7 commit 89e39ddCopy full SHA for 89e39dd
Makefile
@@ -5,6 +5,12 @@ else
5
DC = $(shell which docker) compose
6
endif
7
8
+UNAME_S := $(shell uname -s)
9
+INIT_ARGS := ""
10
+ifeq ($(UNAME_S),Darwin)
11
+ INIT_ARGS := "--optipng-fix"
12
+endif
13
+
14
default: help
15
@echo ""
16
@echo "You need to specify a subcommand."
@@ -45,10 +51,7 @@ start: .docker-build
45
51
run: start
46
52
47
53
init: .docker-build
48
- ${DC} run web bin/run-bootstrap.sh
49
-
50
-init-mac: .docker-build
- ${DC} run web bin/run-bootstrap.sh --optipng-fix
54
+ ${DC} run web bin/run-bootstrap.sh $(INIT_ARGS)
55
56
shell: .docker-build
57
${DC} run web bash
0 commit comments