diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-05-11 14:25:39 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2020-05-11 16:10:08 +0200 |
commit | e8b0993f7054299e61af1ab501aaca46285b0caa (patch) | |
tree | fbe8798f1dce5952eb5a3d542534603989ca35fe /Makefile | |
parent | 28fb122f56df0cb034013740dd30aaaf5ce9059e (diff) | |
download | wcms-e8b0993f7054299e61af1ab501aaca46285b0caa.tar.gz wcms-e8b0993f7054299e61af1ab501aaca46285b0caa.zip |
fix: tests for Windows
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -7,7 +7,10 @@ js_src_dir := src # Misc variables. PATH := vendor/bin:node_modules/.bin:$(PATH) -SHELL := PATH=$(PATH) /bin/bash + +ifneq ($(OS),Windows_NT) # Not for Windows + SHELL := PATH=$(PATH) /bin/bash +endif override GIT_VERSION := $(shell git --no-pager describe --always --tags) override CUR_VERSION := $(strip $(shell cat VERSION 2>/dev/null)) override WEBPACK_FLAGS += $(if $(filter $(ENV),dist),-p) |