bottin/Makefile

16 lines
447 B
Makefile
Raw Normal View History

all: bottin
bottin: main.go ssha.go util.go acl.go read.go write.go
go get -d -v
go build -v -o bottin
bottin.static: main.go ssha.go util.go acl.go read.go write.go
2020-01-26 21:30:05 +00:00
go get -d -v
CGO_ENABLED=0 GOOS=linux go build -a -v -o bottin.static
2020-01-26 21:30:05 +00:00
docker: bottin.static
docker build -t lxpz/bottin_amd64:$(TAG) .
docker push lxpz/bottin_amd64:$(TAG)
docker tag lxpz/bottin_amd64:$(TAG) lxpz/bottin_amd64:latest
docker push lxpz/bottin_amd64:latest