lxd-dont-go-get.patch 1.6 KB
Newer Older
1
diff --git a/Makefile b/Makefile
2
index 9e17cd4..ed4465a 100644
3 4
--- a/Makefile
+++ b/Makefile
5 6 7
@@ -15,13 +15,11 @@ ifeq ($(TAG_SQLITE3),)
 	exit 1
 endif
8 9
 
-	go get -t -v -d ./...
10
 	CC=$(CC) go install -v -tags "$(TAG_SQLITE3)" $(DEBUG) ./...
11 12 13 14 15
 	@echo "LXD built successfully"
 
 .PHONY: client
 client:
-	go get -t -v -d ./...
16
 	go install -v -tags "$(TAG_SQLITE3)" $(DEBUG) ./lxc
17 18
 	@echo "LXD client built successfully"
 
19
@@ -100,7 +98,6 @@ deps:
20 21 22 23 24 25 26
 
 .PHONY: update
 update:
-	go get -t -v -d -u ./...
 	@echo "Dependencies updated"
 
 .PHONY: update-protobuf
27
@@ -121,15 +118,11 @@ ifeq ($(TAG_SQLITE3),)
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
 	exit 1
 endif
 
-	go get -t -v -d ./...
 	CC=$(CC) go install -v -tags "$(TAG_SQLITE3) logdebug" $(DEBUG) ./...
 	@echo "LXD built successfully"
 
 .PHONY: check
 check: default
-	go get -v -x github.com/rogpeppe/godeps
-	go get -v -x github.com/remyoudompheng/go-misc/deadcode
-	go get -v -x github.com/golang/lint/golint
 	go test -v -tags "$(TAG_SQLITE3)" $(DEBUG) ./...
 	cd test && ./main.sh
 
43 44
@@ -145,7 +138,6 @@ dist:
 	ln -s ../../../../lxd-$(VERSION) $(TMP)/_dist/src/github.com/lxc/lxd
45 46
 
 	# Download dependencies
47
-	cd $(TMP)/lxd-$(VERSION) && GOPATH=$(TMP)/_dist go get -t -v -d ./...
48 49
 
 	# Download the cluster-enabled sqlite/dqlite
50 51
 	mkdir $(TMP)/_dist/deps/
@@ -184,7 +176,6 @@ update-po:
52 53 54 55 56 57 58
 	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)