From de192cab1b5f0829fedd34d4feb569445c02346c Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Mon, 5 Feb 2018 14:52:19 +0100 Subject: [PATCH] Fix Makefile for Windows The default value of GRADLE is "./gradlew", which is the correct value on Linux. On Windows, it should use gradlew.bat (by calling "gradlew") instead. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5edc098e..e04f2172 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,10 @@ .PHONY: default release clean build build-app build-server run dist dist-zip sums test -GRADLE ?= ./gradlew +ifeq ($(OS),Windows_NT) + GRADLE ?= gradlew +else + GRADLE ?= ./gradlew +endif APP_BUILD_DIR := app-build DIST := dist