Skip to content

Commit 278ceef

Browse files
committed
fix: pass alias
1 parent 08379a3 commit 278ceef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gno.land/pkg/gnoweb/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
DEV_REMOTE ?= 127.0.0.1:26657
33
CHAIN_ID ?=
44
PUBLIC_DIR ?= public
5+
# Optional: static home, e.g. ALIASES='/=static:../../../misc/deployments/home-alias/home.default.md'. When empty, no -aliases is passed.
56
ALIASES ?=
67

78
# tools
@@ -105,7 +106,7 @@ $(out_dir_static)/%: $(src_dir_static)/%
105106
# Run the development dependencies in parallel
106107
dev.all: $(esbuild) $(PUBLIC_DIR)
107108
@echo "-- starting development tools"
108-
PUBLIC_DIR=$(cache_dir)/public $(MAKE) -j 3 dev.gnoweb dev.ts dev.maincss
109+
PUBLIC_DIR=$(cache_dir)/public ALIASES="$(ALIASES)" $(MAKE) -j 3 dev.gnoweb dev.ts dev.maincss
109110

110111
# Go server in development mode
111112
dev.gnoweb: generate

0 commit comments

Comments
 (0)