17 lines
360 B
Makefile
17 lines
360 B
Makefile
REPO_BASE := github.com/meatballhat/box-o-sand/sylvilagus/go
|
|
PACKAGES := \
|
|
$(REPO_BASE)/sylvilagus-conntest \
|
|
$(REPO_BASE)/sylvilagus-chapter02-hello-world-consumer \
|
|
$(REPO_BASE)/sylvilagus-chapter02-hello-world-producer
|
|
|
|
test: build
|
|
go test -x -v $(PACKAGES)
|
|
|
|
build: deps
|
|
go install -x $(PACKAGES)
|
|
|
|
deps:
|
|
go get -x $(PACKAGES)
|
|
|
|
.PHONY: test build deps
|