Files
YYeTsBot/yyetsweb/Makefile
Benny c44a20c64d Dev (#52)
update bunch of features
2021-08-15 12:29:49 +08:00

17 lines
382 B
Makefile

default:
echo "Installing dependencies..."
go get -u github.com/go-bindata/go-bindata/...
echo "Build static files..."
make asset
echo "Build current platform executable..."
go build .
asset:
cd templates; go-bindata -o assets.go resource.html index.html search.html js/... css/... fonts/... img/...
mv templates/assets.go ./
dev:
go-bindata -o assets.go index.html