go fmt
This commit is contained in:
6
Makefile
6
Makefile
@@ -9,6 +9,10 @@ all: $(BINARY)
|
||||
clean:
|
||||
rm -f $(BINARY) $(ROUTE_ASSET) $(ROUTE_FILES)
|
||||
|
||||
fmt: $(SOURCE) $(SCHEMA_ASSET) $(ROUTE_ASSET)
|
||||
find . -type f -name "*.go" -printf "%h\n"|sort -u|xargs go fmt
|
||||
go tool vet -composites=false .
|
||||
|
||||
$(BINARY): $(SOURCE) $(ROUTE_ASSET)
|
||||
go build
|
||||
|
||||
@@ -35,5 +39,5 @@ public/style.css: assets/*.css
|
||||
deploy:
|
||||
cd debian && make && make deploy
|
||||
|
||||
.PHONEY: clean deploy
|
||||
.PHONEY: clean deploy fmt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user