Makefile: fmt target
This commit is contained in:
parent
a691554234
commit
ebaa8be899
13
Makefile
13
Makefile
@ -17,6 +17,17 @@ watcher: $(WATCHER)
|
||||
|
||||
webapp: $(WEBAPP)
|
||||
|
||||
fmt: $(TACITUS_FILES) $(OSUTIL_FILES) $(POSTGRES_FILES) $(OPS_FILES) \
|
||||
$(GDAX_FILES) $(GDAX_WEBSOCKET_FILES) $(HTTP_FILES)
|
||||
go fmt $(TACITUS_FILES)
|
||||
go fmt $(OSUTIL_FILES)
|
||||
go fmt $(POSTGRES_FILES)
|
||||
go fmt $(OPS_FILES)
|
||||
go fmt $(GDAX_FILES)
|
||||
go fmt $(GDAX_WEBSOCKET_FILES)
|
||||
go fmt $(HTTP_FILES)
|
||||
|
||||
|
||||
$(WEBAPP):
|
||||
go build -o $(WEBAPP) cmd/webapp/main.go
|
||||
|
||||
@ -27,4 +38,4 @@ $(WATCHER): $(TACITUS_FILES) $(OSUTIL_FILES) $(POSTGRES_FILES) \
|
||||
clean:
|
||||
-rm -f $(BUILD_DIR)/*
|
||||
|
||||
.PHONEY: clean webapp watcher
|
||||
.PHONEY: clean webapp watcher fmt
|
||||
|
Reference in New Issue
Block a user