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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
diff --git a/Makefile b/Makefile
index 3ff398d..92f3ba2 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,6 @@ ifeq ($(TAG_SQLITE3),)
exit 1
endif
- go get -t -v -d ./...
CC=$(CC) go install -v -tags "$(TAG_SQLITE3)" $(DEBUG) ./...
CGO_ENABLED=0 go install -v -tags netgo ./lxd-p2c
go install -v -tags agent ./lxd-agent
@@ -23,7 +22,6 @@ endif
.PHONY: client
client:
- go get -t -v -d ./...
go install -v -tags "$(TAG_SQLITE3)" $(DEBUG) ./lxc
@echo "LXD client built successfully"
@@ -110,7 +108,6 @@ deps:
.PHONY: update
update:
- go get -t -v -d -u ./...
@echo "Dependencies updated"
.PHONY: update-protobuf
@@ -131,7 +128,6 @@ ifeq ($(TAG_SQLITE3),)
exit 1
endif
- go get -t -v -d ./...
CC=$(CC) go install -v -tags "$(TAG_SQLITE3) logdebug" $(DEBUG) ./...
@echo "LXD built successfully"
@@ -142,15 +138,11 @@ ifeq ($(TAG_SQLITE3),)
exit 1
endif
- go get -t -v -d ./...
CC=$(CC) go install -a -v -tags "$(TAG_SQLITE3)" $(DEBUG) ./...
@echo "LXD built successfully"
.PHONY: check
check: default
- go get -v -x github.com/rogpeppe/godeps
- go get -v -x github.com/tsenart/deadcode
- go get -v -x github.com/golang/lint/golint
go test -v -tags "$(TAG_SQLITE3)" $(DEBUG) ./...
cd test && ./main.sh
@@ -166,7 +158,6 @@ dist:
ln -s ../../../../lxd-$(VERSION) $(TMP)/_dist/src/github.com/lxc/lxd
# Download dependencies
- cd $(TMP)/lxd-$(VERSION) && GOPATH=$(TMP)/_dist go get -t -v -d ./...
# Download the cluster-enabled sqlite/dqlite
mkdir $(TMP)/_dist/deps/
@@ -205,7 +196,6 @@ update-po:
done
update-pot:
- go get -v -x github.com/snapcore/snapd/i18n/xgettext-go/
xgettext-go -o po/$(DOMAIN).pot --add-comments-tag=TRANSLATORS: --sort-output --package-name=$(DOMAIN) --msgid-bugs-address=lxc-devel@lists.linuxcontainers.org --keyword=i18n.G --keyword-plural=i18n.NG lxc/*.go lxc/*/*.go
build-mo: $(MOFILES)
|