Add release script

Add a script to generate the whole release properly.

It first builds locally in release mode, then execute tests. Then it
builds archives for Windows. Finally, it puts all release files (Windows
archives, prebuilt server and checksums) in a separate release
directory.
This commit is contained in:
Romain Vimont
2019-01-26 15:24:37 +01:00
parent 43ad402356
commit eea478b9dc
2 changed files with 36 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ WIN32_TARGET := $(WIN32_TARGET_DIR)-$(VERSION).zip
WIN64_TARGET := $(WIN64_TARGET_DIR)-$(VERSION).zip
release: clean zip-win32 zip-win64 sums
@echo "Release created in $(DIST)/."
@echo "Windows archives generated in $(DIST)/"
clean:
$(GRADLE) clean