123456789101112131415161718 |
- # Makefile
- APP=goNc
- db:
- go run cmd/app/main.go dbUp
- linux:
- GOOS=linux GOARCH=amd64 go build -o releases/${APP} ./cmd/app/main.go
- linuxArm:
- GOOS=linux GOARCH=arm64 go build -o releases/${APP} ./cmd/app/main.go
- windows:
- GOOS=windows GOARCH=amd64 go build -o releases/${APP}.exe ./cmd/app/main.go
- windows32:
- GOOS=windows GOARCH=386 go build -o releases/${APP}.exe ./cmd/app/main.go
- mac:
- GOOS=darwin GOARCH=amd64 go build -o releases/${APP} ./cmd/app/main.go
- clear:
- rm -f goviewpro_mac goviewpro_linux releases/${APP}.exe ./cmd/app/main.go
|