aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 0860814d809f3779f8221a83378e20cf9bc3d87c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

             
                                                         
                    
                   
 




                                                                  



                                                                        
all: gobottin

gobottin: main.go ssha.go util.go acl.go read.go write.go
	go get -d -v
	go build -v

gobottin.static: main.go ssha.go util.go acl.go read.go write.go
	go get -d -v
	CGO_ENABLED=0 GOOS=linux go build -a -v -o gobottin.static

docker: gobottin.static
	docker build -t lxpz/gobottin_amd64:$(TAG) .
	docker push lxpz/gobottin_amd64:$(TAG)
	docker tag lxpz/gobottin_amd64:$(TAG) lxpz/gobottin_amd64:latest
	docker push lxpz/gobottin_amd64:latest