-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (33 loc) · 1.28 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.PHONY: update master release update_master update_release build clean version
version:
go run main.go generate
sed -i.bak 's/package\ cmd/package\ xxdk/g' version_vars.go
mv version_vars.go xxdk/version_vars.go
clean:
rm -rf vendor/
go mod vendor -e
update:
-GOFLAGS="" go get all
build:
go build ./...
go mod tidy
update_release:
GOFLAGS="" go get gitlab.com/elixxir/wasm-utils@release
GOFLAGS="" go get gitlab.com/xx_network/primitives@release
GOFLAGS="" go get gitlab.com/elixxir/primitives@release
GOFLAGS="" go get gitlab.com/xx_network/crypto@release
GOFLAGS="" go get gitlab.com/elixxir/crypto@release
GOFLAGS="" go get gitlab.com/xx_network/comms@release
GOFLAGS="" go get gitlab.com/elixxir/comms@release
GOFLAGS="" go get gitlab.com/elixxir/ekv@master
update_master:
GOFLAGS="" go get gitlab.com/elixxir/wasm-utils@master
GOFLAGS="" go get gitlab.com/xx_network/primitives@master
GOFLAGS="" go get gitlab.com/elixxir/primitives@master
GOFLAGS="" go get gitlab.com/xx_network/crypto@master
GOFLAGS="" go get gitlab.com/elixxir/crypto@master
GOFLAGS="" go get gitlab.com/xx_network/comms@master
GOFLAGS="" go get gitlab.com/elixxir/comms@master
GOFLAGS="" go get gitlab.com/elixxir/ekv@master
master: update_master clean build version
release: update_release clean build