make: Drop npm calls from buildall
This commit is contained in:
parent
09e92f98ff
commit
ee0078f7c1
18
Makefile
18
Makefile
@ -133,18 +133,30 @@ benchmarks:
|
|||||||
|
|
||||||
lotus-pond: 2k
|
lotus-pond: 2k
|
||||||
go build -o lotus-pond ./lotuspond
|
go build -o lotus-pond ./lotuspond
|
||||||
(cd lotuspond/front && npm i && CI=false npm run build)
|
|
||||||
.PHONY: lotus-pond
|
.PHONY: lotus-pond
|
||||||
BINS+=lotus-pond
|
BINS+=lotus-pond
|
||||||
|
|
||||||
|
lotus-pond-front:
|
||||||
|
(cd lotuspond/front && npm i && CI=false npm run build)
|
||||||
|
.PHONY: lotus-pond-front
|
||||||
|
|
||||||
|
lotus-pond-app: lotus-pond-front lotus-pond
|
||||||
|
.PHONY: lotus-pond-app
|
||||||
|
|
||||||
lotus-townhall:
|
lotus-townhall:
|
||||||
rm -f lotus-townhall
|
rm -f lotus-townhall
|
||||||
go build -o lotus-townhall ./cmd/lotus-townhall
|
go build -o lotus-townhall ./cmd/lotus-townhall
|
||||||
(cd ./cmd/lotus-townhall/townhall && npm i && npm run build)
|
|
||||||
go run github.com/GeertJohan/go.rice/rice append --exec lotus-townhall -i ./cmd/lotus-townhall -i ./build
|
|
||||||
.PHONY: lotus-townhall
|
.PHONY: lotus-townhall
|
||||||
BINS+=lotus-townhall
|
BINS+=lotus-townhall
|
||||||
|
|
||||||
|
lotus-townhall-front:
|
||||||
|
(cd ./cmd/lotus-townhall/townhall && npm i && npm run build)
|
||||||
|
.PHONY: lotus-townhall-front
|
||||||
|
|
||||||
|
lotus-townhall-app: lotus-touch lotus-townhall-front
|
||||||
|
go run github.com/GeertJohan/go.rice/rice append --exec lotus-townhall -i ./cmd/lotus-townhall -i ./build
|
||||||
|
.PHONY: lotus-townhall-app
|
||||||
|
|
||||||
lotus-fountain:
|
lotus-fountain:
|
||||||
rm -f lotus-fountain
|
rm -f lotus-fountain
|
||||||
go build -o lotus-fountain ./cmd/lotus-fountain
|
go build -o lotus-fountain ./cmd/lotus-fountain
|
||||||
|
Loading…
Reference in New Issue
Block a user