Add make get

This commit is contained in:
Kevin Cotugno 2017-11-17 22:58:56 -08:00
parent a7ef7fe697
commit c9bbbc8f48

View File

@ -1,4 +1,5 @@
FMTFLAGS = -l -w -s
GETFLAGS = -u
BUILD_DIR = build
WATCHER_FILES = $(wildcard cmd/watcher/*.go)
@ -21,6 +22,15 @@ watcher: $(WATCHER)
webapp: $(WEBAPP)
get:
go get $(GETFLAGS) github.com/kcotugno/tacitus
go get $(GETFLAGS) github.com/kcotugno/tacitus/cmd/interval
go get $(GETFLAGS) github.com/kcotugno/tacitus/cmd/watcher
go get $(GETFLAGS) github.com/kcotugno/tacitus/cmd/webapp
go get $(GETFLAGS) github.com/kcotugno/tacitus/gdax
go get $(GETFLAGS) github.com/kcotugno/tacitus/gdax/websocket
go get $(GETFLAGS) github.com/kcotugno/tacitus/postgres
fmt: $(TACITUS_FILES) $(OSUTIL_FILES) $(POSTGRES_FILES) $(OPS_FILES) \
$(GDAX_FILES) $(GDAX_WEBSOCKET_FILES) $(HTTP_FILES)
gofmt $(FMTFLAGS) $(TACITUS_FILES)