changes for gofmt
This commit is contained in:
parent
5f5d0541e1
commit
2a96a67a21
5
Makefile
5
Makefile
|
@ -10,7 +10,7 @@ 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
|
||||
gofmt -w -l .
|
||||
go tool vet -composites=false .
|
||||
|
||||
$(BINARY): $(SOURCE) $(ROUTE_ASSET)
|
||||
|
@ -29,10 +29,13 @@ public/index.html: assets/index.html assets/ui/*
|
|||
done; \
|
||||
sed '1,/INSERT_TEMPLATES/d;/REMOVE_ASSET_START/,/REMOVE_ASSET_END/d' index.html) \
|
||||
| html-minifier --minify-css --collapse-whitespace > ../public/index.html
|
||||
|
||||
public/app.js: assets/lib.js assets/app.js
|
||||
cat assets/lib.js assets/app.js | uglifyjs > public/app.js
|
||||
|
||||
public/paste.sh: assets/paste.sh
|
||||
cp assets/paste.sh public/paste.sh
|
||||
|
||||
public/style.css: assets/*.css
|
||||
cleancss assets/*.css > public/style.css
|
||||
|
||||
|
|
2
debian/RELEASE
vendored
2
debian/RELEASE
vendored
|
@ -1 +1 @@
|
|||
8
|
||||
9
|
||||
|
|
Loading…
Reference in New Issue
Block a user