summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f38a26ed3a..f94fd2a5e3 100644
--- a/Makefile
+++ b/Makefile
@@ -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 :=