-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
14 lines (12 loc) · 993 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
generate-bindata-debug:
go-bindata -debug -o tmpl/bindata.go -pkg tmpl tmpl
clean:
rm -f build/*
build: clean
go-bindata -o tmpl/bindata.go -pkg tmpl tmpl
env GOOS=darwin GOARCH=amd64 go build -ldflags "-X github.com/mleonard87/frosty/cli.frostyVersion=0.3.0" -o "build/darwin_amd64" frosty.go
env GOOS=linux GOARCH=386 go build -ldflags "-X github.com/mleonard87/frosty/cli.frostyVersion=0.3.0" -o "build/linux_386" frosty.go
env GOOS=linux GOARCH=amd64 go build -ldflags "-X github.com/mleonard87/frosty/cli.frostyVersion=0.3.0" -o "build/linux_amd64" frosty.go
env GOOS=linux GOARCH=arm go build -ldflags "-X github.com/mleonard87/frosty/cli.frostyVersion=0.3.0" -o "build/linux_arm" frosty.go
env GOOS=windows GOARCH=amd64 go build -ldflags "-X github.com/mleonard87/frosty/cli.frostyVersion=0.3.0" -o "build/windows_amd64.exe" frosty.go
env GOOS=windows GOARCH=386 go build -ldflags "-X github.com/mleonard87/frosty/cli.frostyVersion=0.3.0" -o "build/windows_386.exe" frosty.go