makefile: add clean-deps target
This commit is contained in:
parent
d90b08f45e
commit
584a6b632f
6
Makefile
6
Makefile
@ -11,7 +11,7 @@ GOFLAGS=-a \
|
|||||||
|
|
||||||
SOURCES=client/ Gopkg.lock Gopkg.toml Makefile Config.go main.go nmdc-webfrontend.conf.SAMPLE
|
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
|
all: $(BINNAME)-$(VERSION)-win32.7z $(BINNAME)-$(VERSION)-linux64.tar.xz $(BINNAME)-$(VERSION)-src.tar.xz
|
||||||
|
|
||||||
@ -27,6 +27,10 @@ clean:
|
|||||||
rm -fr ./clientpack
|
rm -fr ./clientpack
|
||||||
rm -f ./bindata.go
|
rm -f ./bindata.go
|
||||||
|
|
||||||
|
clean-deps:
|
||||||
|
rm -fr ./vendor
|
||||||
|
rm -fr ./node_modules
|
||||||
|
|
||||||
bindata.go: client client/*
|
bindata.go: client client/*
|
||||||
npm run webpack
|
npm run webpack
|
||||||
cat client/index.htm \
|
cat client/index.htm \
|
||||||
|
Loading…
Reference in New Issue
Block a user