mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
make: add independent statik-only goal
To separate the asset to golang conversion step from the node app build, we add a new, independent goal for just the statik command. That way we can cleanly separate between stuff that needs yarn/nodejs installed and stuff that needs golang installed.
This commit is contained in:
parent
35d5d6b462
commit
378687b522
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -97,10 +97,12 @@ yarn-install:
|
|||
# ============
|
||||
# INSTALLATION
|
||||
# ============
|
||||
statik-build: $(STATIK_BIN) app-build
|
||||
statik-only: $(STATIK_BIN)
|
||||
@$(call print, "Building statik package.")
|
||||
statik -src=app/build
|
||||
|
||||
statik-build: app-build statik-only
|
||||
|
||||
build: statik-build go-build
|
||||
install: statik-build go-install
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue