diff options
author | Dan Duvall <dduvall@wikimedia.org> | 2017-09-13 22:39:59 -0700 |
---|---|---|
committer | Dan Duvall <dduvall@wikimedia.org> | 2017-09-14 09:20:58 -0700 |
commit | 6766ee4e74b25036d29a2e5e8f6eaf19969cf825 (patch) | |
tree | dabc98cab520d2d22198ff0af557b1c7c790d6f1 /Makefile | |
parent | 4e5c728eec5a8d7a3f4297de6b5c1503bdffd5d0 (diff) | |
download | blubber-6766ee4e74b25036d29a2e5e8f6eaf19969cf825.tar.gz |
Use import paths without `.git` suffix
Summary:
Now that our Phabricator instance handles `go get` requests, we can use
a path without the `.git` suffix as the canonical import path.
Test Plan: Run `go test ./...` and `go build`.
Reviewers: thcipriani, #release-engineering-team
Reviewed By: thcipriani, #release-engineering-team
Tags: #release-engineering-team
Differential Revision: https://phabricator.wikimedia.org/D780
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ export GOPATH=$(CURDIR)/.build -PACKAGE := phabricator.wikimedia.org/source/blubber.git +PACKAGE := phabricator.wikimedia.org/source/blubber export BUILD_DIR=$(GOPATH)/src/$(PACKAGE) BINARY :=$(CURDIR)/bin/blubber @@ -14,7 +14,7 @@ bin/blubber: ln -s $(CURDIR) $(BUILD_DIR) cd $(BUILD_DIR) && go get ./... cd $(BUILD_DIR) && go build -v -i - mkdir -p $(CURDIR)/bin && mv $(BUILD_DIR)/blubber.git $(BINARY) + mkdir -p $(CURDIR)/bin && mv $(BUILD_DIR)/blubber $(BINARY) .PHONY: all clean |