File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -45,4 +45,4 @@ coverage.out
4545/indexers
4646/log
4747/public /img /avatar
48- /integrations /gitea-integration
48+ /integrations /gitea-integration
Original file line number Diff line number Diff line change 11DIST := dist
22IMPORT := code.gitea.io/gitea
3-
4- ifeq ($(OS ) , Windows_NT)
5- EXECUTABLE := gitea.exe
6- else
7- EXECUTABLE := gitea
8- endif
9-
103BINDATA := modules/{options,public,templates}/bindata.go
114STYLESHEETS := $(wildcard public/less/index.less public/less/_* .less)
125JAVASCRIPTS :=
@@ -22,7 +15,13 @@ SOURCES ?= $(shell find . -name "*.go" -type f)
2215
2316TAGS ?=
2417
25- TMPDIR := $(shell mktemp -d)
18+ TMPDIR := $(shell mktemp -d 2>/dev/null || mktemp -d -t 'gitea-temp')
19+
20+ ifeq ($(OS ) , Windows_NT)
21+ EXECUTABLE := gitea.exe
22+ else
23+ EXECUTABLE := gitea
24+ endif
2625
2726ifneq ($(DRONE_TAG ) ,)
2827 VERSION ?= $(subst v,,$(DRONE_TAG))
You can’t perform that action at this time.
0 commit comments