aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 0860814..13fed94 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,15 @@
-all: gobottin
+all: bottin
-gobottin: main.go ssha.go util.go acl.go read.go write.go
+bottin: main.go ssha.go util.go acl.go read.go write.go
go get -d -v
- go build -v
+ go build -v -o bottin
-gobottin.static: main.go ssha.go util.go acl.go read.go write.go
+bottin.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
+ CGO_ENABLED=0 GOOS=linux go build -a -v -o bottin.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
+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