Add make get
This commit is contained in:
parent
a7ef7fe697
commit
c9bbbc8f48
10
Makefile
10
Makefile
@ -1,4 +1,5 @@
|
|||||||
FMTFLAGS = -l -w -s
|
FMTFLAGS = -l -w -s
|
||||||
|
GETFLAGS = -u
|
||||||
BUILD_DIR = build
|
BUILD_DIR = build
|
||||||
|
|
||||||
WATCHER_FILES = $(wildcard cmd/watcher/*.go)
|
WATCHER_FILES = $(wildcard cmd/watcher/*.go)
|
||||||
@ -21,6 +22,15 @@ watcher: $(WATCHER)
|
|||||||
|
|
||||||
webapp: $(WEBAPP)
|
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) \
|
fmt: $(TACITUS_FILES) $(OSUTIL_FILES) $(POSTGRES_FILES) $(OPS_FILES) \
|
||||||
$(GDAX_FILES) $(GDAX_WEBSOCKET_FILES) $(HTTP_FILES)
|
$(GDAX_FILES) $(GDAX_WEBSOCKET_FILES) $(HTTP_FILES)
|
||||||
gofmt $(FMTFLAGS) $(TACITUS_FILES)
|
gofmt $(FMTFLAGS) $(TACITUS_FILES)
|
||||||
|
Reference in New Issue
Block a user