parent
01812acdde
commit
9f9024674e
2
Makefile
2
Makefile
@ -8,7 +8,7 @@ magneticod:
|
|||||||
magneticow:
|
magneticow:
|
||||||
# TODO: minify files!
|
# TODO: minify files!
|
||||||
# https://github.com/kevinburke/go-bindata
|
# https://github.com/kevinburke/go-bindata
|
||||||
go-bindata -o="cmd/magneticow/bindata.go" -prefix="cmd/magneticow/data/" cmd/magneticow/data/...
|
go-bindata -pkg "main" -o="cmd/magneticow/bindata.go" -prefix="cmd/magneticow/data/" cmd/magneticow/data/...
|
||||||
# Prepend the linter instruction to the beginning of the file
|
# Prepend the linter instruction to the beginning of the file
|
||||||
sed -i '1s;^;//lint:file-ignore * Ignore file altogether\n;' cmd/magneticow/bindata.go
|
sed -i '1s;^;//lint:file-ignore * Ignore file altogether\n;' cmd/magneticow/bindata.go
|
||||||
go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticow
|
go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticow
|
||||||
|
Loading…
Reference in New Issue
Block a user