aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-05-11 14:25:39 +0200
committern-peugnet <n.peugnet@free.fr>2020-05-11 16:10:08 +0200
commite8b0993f7054299e61af1ab501aaca46285b0caa (patch)
treefbe8798f1dce5952eb5a3d542534603989ca35fe /Makefile
parent28fb122f56df0cb034013740dd30aaaf5ce9059e (diff)
downloadwcms-e8b0993f7054299e61af1ab501aaca46285b0caa.tar.gz
wcms-e8b0993f7054299e61af1ab501aaca46285b0caa.zip
fix: tests for Windows
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3f15ce4..e3fc1ad 100644
--- a/Makefile
+++ b/Makefile
@@ -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)