We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08379a3 commit 278ceefCopy full SHA for 278ceef
gno.land/pkg/gnoweb/Makefile
@@ -2,6 +2,7 @@
2
DEV_REMOTE ?= 127.0.0.1:26657
3
CHAIN_ID ?=
4
PUBLIC_DIR ?= public
5
+# Optional: static home, e.g. ALIASES='/=static:../../../misc/deployments/home-alias/home.default.md'. When empty, no -aliases is passed.
6
ALIASES ?=
7
8
# tools
@@ -105,7 +106,7 @@ $(out_dir_static)/%: $(src_dir_static)/%
105
106
# Run the development dependencies in parallel
107
dev.all: $(esbuild) $(PUBLIC_DIR)
108
@echo "-- starting development tools"
- 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
110
111
# Go server in development mode
112
dev.gnoweb: generate
0 commit comments