-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vendoring in deps to prevent future issues :(
- Loading branch information
Showing
7 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
base_dir = `pwd` | ||
gopath = "$(base_dir)/vendor:$(GOPATH)" | ||
|
||
all: fmt deps test | ||
@echo "Building." | ||
@mkdir -p bin/ | ||
go build -v -o bin/gosync . | ||
@env GOPATH=$(gopath) go build -v -o bin/gosync . | ||
clean: | ||
@echo "Cleaning." | ||
@rm -rf bin pkg vendor/pkg | ||
deps: | ||
@echo "Getting Dependencies." | ||
go get -d -v ./... | ||
test: deps | ||
@echo "Testing." | ||
go test ./... | ||
@env GOPATH=$(gopath) go get -d -v ./... | ||
fmt: | ||
@echo "Formatting." | ||
gofmt -w . | ||
test: deps | ||
@echo "Testing." | ||
@env GOPATH=$(gopath) go test ./gosync/... | ||
|
||
.PHONY: all clean deps fmt test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule seelog
added at
d233b7
Submodule cli
added at
7381bc
Submodule goamz
added at
6f49d3
Submodule gocheck
added at
9beb27
Submodule go-ini
added at
a98ad7