@@ -3,8 +3,8 @@ BUILD_TIME=$(shell date)
3
3
GIT_REVISION =$(shell git rev-parse --short HEAD)
4
4
GIT_DIRTY =$(shell git diff-index --quiet HEAD -- || echo "✗-")
5
5
6
- ldflags = -X gitlab .com/NebulousLabs/Sia/build.GitRevision=${GIT_DIRTY}${GIT_REVISION} \
7
- -X "gitlab .com/NebulousLabs/Sia/build.BuildTime=${BUILD_TIME}"
6
+ ldflags = -X github .com/NebulousLabs/Sia/build.GitRevision=${GIT_DIRTY}${GIT_REVISION} \
7
+ -X "github .com/NebulousLabs/Sia/build.BuildTime=${BUILD_TIME}"
8
8
9
9
# all will build and install release binaries
10
10
all : release
@@ -13,19 +13,19 @@ all: release
13
13
# Sia.
14
14
dependencies :
15
15
# Consensus Dependencies
16
- go get -u gitlab .com/NebulousLabs/demotemutex
17
- go get -u gitlab .com/NebulousLabs/fastrand
18
- go get -u gitlab .com/NebulousLabs/merkletree
19
- go get -u gitlab .com/NebulousLabs/bolt
16
+ go get -u github .com/NebulousLabs/demotemutex
17
+ go get -u github .com/NebulousLabs/fastrand
18
+ go get -u github .com/NebulousLabs/merkletree
19
+ go get -u github .com/NebulousLabs/bolt
20
20
go get -u golang.org/x/crypto/blake2b
21
21
go get -u golang.org/x/crypto/ed25519
22
22
# Module + Daemon Dependencies
23
- go get -u gitlab .com/NebulousLabs/entropy-mnemonics
24
- go get -u gitlab .com/NebulousLabs/errors
25
- go get -u gitlab .com/NebulousLabs/go-upnp
26
- go get -u gitlab .com/NebulousLabs/ratelimit
27
- go get -u gitlab .com/NebulousLabs/threadgroup
28
- go get -u gitlab .com/NebulousLabs/writeaheadlog
23
+ go get -u github .com/NebulousLabs/entropy-mnemonics
24
+ go get -u github .com/NebulousLabs/errors
25
+ go get -u github .com/NebulousLabs/go-upnp
26
+ go get -u github .com/NebulousLabs/ratelimit
27
+ go get -u github .com/NebulousLabs/threadgroup
28
+ go get -u github .com/NebulousLabs/writeaheadlog
29
29
go get -u github.com/klauspost/reedsolomon
30
30
go get -u github.com/julienschmidt/httprouter
31
31
go get -u github.com/inconshreveable/go-update
@@ -38,7 +38,7 @@ dependencies:
38
38
go install -race std
39
39
go get -u github.com/client9/misspell/cmd/misspell
40
40
go get -u github.com/golang/lint/golint
41
- go get -u gitlab .com/NebulousLabs/glyphcheck
41
+ go get -u github .com/NebulousLabs/glyphcheck
42
42
43
43
# pkgs changes which packages the makefile calls operate on. run changes which
44
44
# tests are run during testing.
@@ -83,10 +83,6 @@ release:
83
83
release-race :
84
84
go install -race -tags=' netgo' -a -ldflags=' -s -w $(ldflags)' $(pkgs )
85
85
86
- # deploy builds release binaries for every platform.
87
- deploy :
88
- ./deploy.sh
89
-
90
86
# clean removes all directories that get automatically created during
91
87
# development.
92
88
clean :
97
93
test-v :
98
94
go test -race -v -short -tags=' debug testing netgo' -timeout=15s $(pkgs ) -run=$(run )
99
95
test-long : clean fmt vet lint
100
- @mkdir -p cover
101
- go test --coverprofile=' ./cover/cover.out' -v -race -tags=' testing debug netgo' -timeout=1200s $(pkgs ) -run=$(run )
96
+ go test -v -race -tags=' testing debug netgo' -timeout=500s $(pkgs ) -run=$(run )
102
97
test-vlong : clean fmt vet lint
103
- @mkdir -p cover
104
- go test --coverprofile=' ./cover/cover.out' -v -race -tags=' testing debug vlong netgo' -timeout=5000s $(pkgs ) -run=$(run )
98
+ go test -v -race -tags=' testing debug vlong netgo' -timeout=5000s $(pkgs ) -run=$(run )
105
99
test-cpu :
106
100
go test -v -tags=' testing debug netgo' -timeout=500s -cpuprofile cpu.prof $(pkgs ) -run=$(run )
107
101
test-mem :
0 commit comments