Skip to content

Commit b7e1bcc

Browse files
andreyneringlunny
authored andcommitted
Makefile: on Windows, executable should have ".exe" (#550)
1 parent aea1b2b commit b7e1bcc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
DIST := dist
2-
EXECUTABLE := gitea
32
IMPORT := code.gitea.io/gitea
43

4+
ifeq ($(OS), Windows_NT)
5+
EXECUTABLE := gitea.exe
6+
else
7+
EXECUTABLE := gitea
8+
endif
9+
510
BINDATA := modules/{options,public,templates}/bindata.go
611
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
712
JAVASCRIPTS :=

0 commit comments

Comments
 (0)