fix Makefile for Go Modules
This commit is contained in:
parent
c3ebeffa4c
commit
a25ca2e602
4
Makefile
4
Makefile
@ -3,13 +3,13 @@
|
||||
all: test magneticod magneticow
|
||||
|
||||
magneticod:
|
||||
go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" github.com/boramalper/magnetico/cmd/magneticod
|
||||
go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticod
|
||||
|
||||
magneticow:
|
||||
# TODO: minify files!
|
||||
# https://github.com/kevinburke/go-bindata
|
||||
go-bindata -o="cmd/magneticow/bindata.go" -prefix="cmd/magneticow/data/" cmd/magneticow/data/...
|
||||
go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" github.com/boramalper/magnetico/cmd/magneticow
|
||||
go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticow
|
||||
|
||||
image-magneticod:
|
||||
docker build -t magneticod -f Dockerfile.magneticod .
|
||||
|
Loading…
Reference in New Issue
Block a user