remove dep
This commit is contained in:
13
Makefile
13
Makefile
@@ -22,16 +22,9 @@ clean:
|
||||
rm -rf $(BINARY) $(ROUTE_ASSET) $(DOCS_ASSET)
|
||||
|
||||
setup:
|
||||
dep ensure
|
||||
go get github.com/jteeuwen/go-bindata/...
|
||||
go get github.com/elazarl/go-bindata-assetfs/...
|
||||
git submodule update
|
||||
cd assets; npm i
|
||||
|
||||
ensure:
|
||||
dep ensure -update
|
||||
dep status
|
||||
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
@@ -49,12 +42,12 @@ $(ROUTE_ASSET): $(ROUTE_FILES)
|
||||
npm run build; \
|
||||
cp -r build ../public
|
||||
|
||||
export PATH=$$GOPATH/bin:$$PATH; go generate "sour.is/x/paste/src/routes"
|
||||
go generate "sour.is/x/paste/src/routes"
|
||||
|
||||
$(DOCS_ASSET): $(DOCS_FILES) $(SOURCE)
|
||||
echo "$$DUMMY_BINDATA" > src/docs/bindata.go
|
||||
export PATH=$$GOPATH/bin:$$PATH; go generate "sour.is/x/paste/cmd/paste"
|
||||
export PATH=$$GOPATH/bin:$$PATH; go generate "sour.is/x/paste/src/docs"
|
||||
go generate "sour.is/x/paste/cmd/paste"
|
||||
go generate "sour.is/x/paste/src/docs"
|
||||
|
||||
|
||||
deploy: $(SOURCE) $(ROUTE_ASSET)
|
||||
|
||||
Reference in New Issue
Block a user