diff --git a/Makefile b/Makefile index e28c797..24cc90e 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ GOFLAGS=-a \ SOURCES=client/ Gopkg.lock Gopkg.toml Makefile Config.go main.go nmdc-webfrontend.conf.SAMPLE -.PHONY: all deps clean +.PHONY: all deps clean clean-deps all: $(BINNAME)-$(VERSION)-win32.7z $(BINNAME)-$(VERSION)-linux64.tar.xz $(BINNAME)-$(VERSION)-src.tar.xz @@ -26,6 +26,10 @@ clean: rm -f ./$(BINNAME).exe rm -fr ./clientpack rm -f ./bindata.go + +clean-deps: + rm -fr ./vendor + rm -fr ./node_modules bindata.go: client client/* npm run webpack