Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sig committed Feb 25, 2021
1 parent ab75d48 commit a0e8693
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@

.PHONY: docker

BIN := go-bindata
GOPATH = $(shell go env GOPATH)
GOBINDATA := $(GOPATH)/bin/go-bindata

# BIN := go-bindata-assetfs

all: dep
$(BIN) -pkg data -o data/bindata.go static static/images
$(GOBINDATA) -pkg data -o data/bindata.go static static/images

dev:
$(BIN) -debug -pkg data -o data/bindata.go static static/images
$(GOBINDATA) -debug -pkg data -o data/bindata.go static static/images
go install github.com/sigmonsays/graphspace/...

dep:
go get github.com/jteeuwen/go-bindata/go-bindata
go get github.com/elazarl/go-bindata-assetfs/...


docker:
# build docker image
# build docker image
docker build -t graphspace:latest .
docker-push:
docker tag graphspace:latest sigmonsays/graphspace:latest
Expand Down

0 comments on commit a0e8693

Please sign in to comment.