Complete rewrite of the bootstraper tool
This commit is contained in:
6
Makefile
6
Makefile
@ -2,12 +2,14 @@ LINT_ARGS ?= ./...
|
||||
DESTDIR ?= "/usr/local"
|
||||
|
||||
bin:
|
||||
GOOS=linux go build -o bin/templater-linux cmd/templater.go
|
||||
GOOS=linux CGO_ENABLED=0 go build -o bin/templater-linux cmd/templater/main.go
|
||||
GOOS=linux CGO_ENABLED=0 go build -o bin/bootstraper-linux cmd/bootstraper/main.go
|
||||
upx bin/templater-linux
|
||||
upx bin/templaster-server
|
||||
upx bin/bootstraper-linux
|
||||
|
||||
install:
|
||||
cp bin/templater-linux $(DESTDIR)/bin/templater
|
||||
cp bin/bootstraper-linux $(DESTDIR)/bin/bootstraper
|
||||
|
||||
uninstall:
|
||||
rm $(DESTDIR)/bin/templater
|
||||
|
Reference in New Issue
Block a user