Makefile: on Windows, executable should have ".exe" (#550)

This commit is contained in:
Andrey Nering 2017-01-01 12:18:35 -02:00 committed by Lunny Xiao
parent aea1b2b02e
commit b7e1bccc50

View file

@ -1,7 +1,12 @@
DIST := dist
EXECUTABLE := gitea
IMPORT := code.gitea.io/gitea
ifeq ($(OS), Windows_NT)
EXECUTABLE := gitea.exe
else
EXECUTABLE := gitea
endif
BINDATA := modules/{options,public,templates}/bindata.go
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
JAVASCRIPTS :=