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
45
45
/indexers
46
46
/log
47
47
/public /img /avatar
48
- /integrations /gitea-integration
48
+ /integrations /gitea-integration
Original file line number Diff line number Diff line change 1
1
DIST := dist
2
2
IMPORT := code.gitea.io/gitea
3
-
4
- ifeq ($(OS ) , Windows_NT)
5
- EXECUTABLE := gitea.exe
6
- else
7
- EXECUTABLE := gitea
8
- endif
9
-
10
3
BINDATA := modules/{options,public,templates}/bindata.go
11
4
STYLESHEETS := $(wildcard public/less/index.less public/less/_* .less)
12
5
JAVASCRIPTS :=
@@ -22,7 +15,13 @@ SOURCES ?= $(shell find . -name "*.go" -type f)
22
15
23
16
TAGS ?=
24
17
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
26
25
27
26
ifneq ($(DRONE_TAG ) ,)
28
27
VERSION ?= $(subst v,,$(DRONE_TAG))
You can’t perform that action at this time.
0 commit comments