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.
This commit is contained in:
Romain Vimont 2018-02-05 14:52:19 +01:00
parent 52c89c7afb
commit de192cab1b

View file

@ -1,6 +1,10 @@
.PHONY: default release clean build build-app build-server run dist dist-zip sums test .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 APP_BUILD_DIR := app-build
DIST := dist DIST := dist