makefile: add clean-deps target

This commit is contained in:
mappu 2017-11-12 10:35:46 +13:00
parent d90b08f45e
commit 584a6b632f
1 changed files with 5 additions and 1 deletions

View File

@ -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