Skip to content

Commit 8b55886

Browse files
committed
Add make commands to serve the built site
1 parent 3a8392d commit 8b55886

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Makefile

+8
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@ web-dev: wasm
1414
.PHONY: web-lint
1515
web-lint:
1616
cd web && pnpm check
17+
18+
.PHONY: web-build-dist
19+
web-build-dist: wasm
20+
cd web && pnpm build
21+
22+
.PHONY: web-build-dist
23+
web-serve-dist: web-build-dist
24+
cd web/dist && ln -sf . typing-rust-patterns && python -m http.server

web/.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
/node_modules/
21
/.astro
2+
/node_modules/
3+
/dist

0 commit comments

Comments
 (0)