|
@@ -4,7 +4,12 @@ WEBPACK := yarn build-acceptance
|
|
|
# Currently, this is only required to install black via pre-commit.
|
|
|
REQUIRED_PY3_VERSION := $(shell grep "3.6" .python-version)
|
|
|
|
|
|
-BIG_SUR := $(shell sw_vers -productVersion | egrep "11\.")
|
|
|
+UNAME := $(shell command -v uname 2> /dev/null)
|
|
|
+ifdef UNAME
|
|
|
+ ifeq ($(shell uname), Darwin)
|
|
|
+ BIG_SUR := $(shell sw_vers -productVersion | egrep "11\.")
|
|
|
+ endif
|
|
|
+endif
|
|
|
|
|
|
bootstrap: develop init-config run-dependent-services create-db apply-migrations build-platform-assets
|
|
|
|