makefile: install esbuild.
parent
6f6c1b3836
commit
bfbe31249f
7
makefile
7
makefile
|
@ -3,6 +3,9 @@ all: build
|
||||||
build:
|
build:
|
||||||
spago build
|
spago build
|
||||||
|
|
||||||
|
bundle-module:
|
||||||
|
PATH=./node_modules/.bin:$$PATH spago bundle-module
|
||||||
|
|
||||||
run:
|
run:
|
||||||
spago run
|
spago run
|
||||||
|
|
||||||
|
@ -18,3 +21,7 @@ DOCS_HTTPD_PORT ?= 30000
|
||||||
DOCS_DIR ?= generated-docs/html
|
DOCS_DIR ?= generated-docs/html
|
||||||
serve-docs: docs
|
serve-docs: docs
|
||||||
darkhttpd $(DOCS_DIR) --addr $(DOCS_HTTPD_ADDR) --port $(DOCS_HTTPD_PORT) --log $(DOCS_HTTPD_ACCESS_LOGS)
|
darkhttpd $(DOCS_DIR) --addr $(DOCS_HTTPD_ADDR) --port $(DOCS_HTTPD_PORT) --log $(DOCS_HTTPD_ACCESS_LOGS)
|
||||||
|
|
||||||
|
install-esbuild:
|
||||||
|
@echo "install ebbuild"
|
||||||
|
[ -f node_modules/.bin/esbuild ] || npm install esbuild
|
||||||
|
|
Loading…
Reference in New Issue