gosora/Makefile

22 lines
307 B
Makefile
Raw Normal View History

2022-02-21 03:32:53 +00:00
tidy:
2022-02-21 03:42:55 +00:00
go mod tidy
build:
mkdir -p bin
go build -ldflags="-s -w" -o ./bin/gosora.exe .
clean:
echo "Deleting artifacts from previous builds"
rm -f template_*.go
rm -f tmpl_*.go
rm -f gen_*.go
rm -f tmpl_client/template_*
rm -f tmpl_client/tmpl_*
rm -f ./bin/*
rm -f ./common/gen_extend.go