tangled
alpha
login
or
join now
stream.place
/
streamplace
77
fork
atom
Live video on the AT Protocol
77
fork
atom
overview
issues
1
pulls
pipelines
Makefile: only make a uuid once
fixes #21
Eli Mallon
2 years ago
768c3ca7
12c9d108
+2
-1
1 changed file
expand all
collapse all
unified
split
Makefile
+2
-1
Makefile
···
5
default: app node
6
7
VERSION?=$(shell ./util/version.sh)
0
8
9
.PHONY: version
10
version:
···
20
21
.PHONY: node
22
node:
23
-
go build -ldflags="-X 'main.Version=$(VERSION)' -X 'main.BuildTime=$(shell date +%s)' -X 'main.UUID=$(shell go run ./pkg/config/uuid/uuid.go)'" -o $(OUT_DIR)/aquareum ./cmd/aquareum
24
25
.PHONY: test
26
test:
···
5
default: app node
6
7
VERSION?=$(shell ./util/version.sh)
8
+
UUID?=$(shell go run ./pkg/config/uuid/uuid.go)
9
10
.PHONY: version
11
version:
···
21
22
.PHONY: node
23
node:
24
+
go build -ldflags="-X 'main.Version=$(VERSION)' -X 'main.BuildTime=$(shell date +%s)' -X 'main.UUID=$(UUID)'" -o $(OUT_DIR)/aquareum ./cmd/aquareum
25
26
.PHONY: test
27
test: