Skip to content

Commit 378687b

Browse files
committed
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.
1 parent 35d5d6b commit 378687b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,12 @@ yarn-install:
9797
# ============
9898
# INSTALLATION
9999
# ============
100-
statik-build: $(STATIK_BIN) app-build
100+
statik-only: $(STATIK_BIN)
101101
@$(call print, "Building statik package.")
102102
statik -src=app/build
103103

104+
statik-build: app-build statik-only
105+
104106
build: statik-build go-build
105107
install: statik-build go-install
106108

0 commit comments

Comments
 (0)