Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
# Default target.
all : commands

## commands : show all commands.
commands :
@grep -h -E '^##' ${MAKEFILE_LIST} | sed -e 's/## //g' | column -t -s ':'

## install: install minimal required packages into current environment.
install:
uv pip install marimo jinja2 markdown

## build: build entire site.
build:
rm -rf _site
uv run scripts/build.py

## serve: run local web server without rebuilding.
serve:
uv run python -m http.server --directory _site
uv run python -m http.server --directory _site

## clean: clean up stray files.
clean:
@find . -name '*~' -exec rm {} +
@find . -name '.DS_Store' -exec rm {} +