Skip to content

Commit

Permalink
Add make commands to serve the built site
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Jan 18, 2025
1 parent 3a8392d commit 8b55886
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ web-dev: wasm
.PHONY: web-lint
web-lint:
cd web && pnpm check

.PHONY: web-build-dist
web-build-dist: wasm
cd web && pnpm build

.PHONY: web-build-dist
web-serve-dist: web-build-dist
cd web/dist && ln -sf . typing-rust-patterns && python -m http.server
3 changes: 2 additions & 1 deletion web/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules/
/.astro
/node_modules/
/dist

0 comments on commit 8b55886

Please sign in to comment.