add Makefile
This commit is contained in:
parent
c06ae8317f
commit
cc240dc13d
|
@ -0,0 +1,14 @@
|
|||
name=verochka
|
||||
|
||||
run:
|
||||
go run main.go
|
||||
|
||||
test:
|
||||
go test
|
||||
|
||||
build:
|
||||
rm -rf bin
|
||||
GOOS=linux GOARCH=amd64 go build -o bin/$(name)_linux_amd64 main.go
|
||||
GOOS=darwin GOARCH=amd64 go build -o bin/$(name)_macos_amd64 main.go
|
||||
GOOS=darwin GOARCH=arm64 go build -o bin/$(name)_macos_arm64 main.go
|
||||
GOOS=windows GOARCH=amd64 go build -o bin/$(name)_windows_amd64.exe main.go
|
Loading…
Reference in New Issue