sliproad/Makefile
Gabriel Simmer 5e345f11af
Tweaked spacing for file list, icons.
Icons! Finally, signifying type of link without relying on colours. Also
added some margin to help alleviate strain from contrasting colours.
Fixed background-color of "NAS" home link maintaining white background.
2020-04-05 19:32:35 +01:00

28 lines
424 B
Makefile

.DEFAULT_GOAL := build
build:
go build
pi:
env GOOS=linux GOARCH=arm GOARM=5 go build -o nas-arm
small:
go build -ldflags="-s -w"
upx --brute nas -9 --no-progress
small_pi:
env GOOS=linux GOARCH=arm GOARM=5 go build -o nas-arm -ldflags="-s -w"
upx --brute nas-arm -9 --no-progress
run:
go run webserver.go
test:
go test ./... -cover
dist: clean small small_pi
mkdir build
mv nas* build
clean:
rm -rf build