diff --git a/Makefile b/Makefile index e6fdedb..9280286 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ ROUTE_FILES=$(wildcard assets/src/*) $(wildcard assets/public/*) DOCS_ASSET=src/docs/bindata.go DOCS_FILES=$(wildcard src/docs/ui/*) -VENDOR_FILES=$(shell find vendor -type f -name '*.go') +# VENDOR_FILES=$(shell find vendor -type f -name '*.go') SOURCE=$(wildcard cmd/paste/*.go) $(filter-out src/routes/bindata.go, $(wildcard src/routes/*.go)) BINARY=paste @@ -21,9 +21,9 @@ clean: rm -rf $(BINARY) $(ROUTE_ASSET) $(DOCS_ASSET) setup: - cd assets; npm i go mod download go mod vendor + cd assets; npm i fmt: go fmt ./... test: @@ -32,7 +32,7 @@ test: run: $(BINARY) ./$(BINARY) -vv serve -$(BINARY): $(SOURCE) $(ROUTE_ASSET) $(VENDOR_FILES) $(DOCS_ASSET) +$(BINARY): $(SOURCE) $(ROUTE_ASSET) $(DOCS_ASSET) # go vet ./... # go test ./... go build "sour.is/x/paste/cmd/paste" diff --git a/go.mod b/go.mod index 8606419..285ee79 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,6 @@ require ( github.com/sour-is/go-assetfs v1.0.0 github.com/spf13/viper v1.6.2 github.com/vektah/dataloaden v0.2.1-0.20190515034641-a19b9a6e7c9e - golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de // indirect golang.org/x/sys v0.0.0-20200817085935-3ff754bf58a9 sour.is/x/toolbox v0.11.4 )