Skip to content

Commit

Permalink
Makefile: on Windows, executable should have ".exe" (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreynering authored and lunny committed Jan 1, 2017
1 parent aea1b2b commit b7e1bcc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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 :=
Expand Down

0 comments on commit b7e1bcc

Please sign in to comment.