From 584a6b632f92a2266a78525efdf60f9c16225656 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 12 Nov 2017 10:35:46 +1300 Subject: [PATCH] makefile: add clean-deps target --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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