2025-11-20 10:44:59 +08:00
|
|
|
list:
|
|
|
|
|
just --list
|
|
|
|
|
|
2026-01-30 14:18:07 +08:00
|
|
|
build_docs:
|
2025-11-20 10:44:59 +08:00
|
|
|
doxygen Doxyfile
|
|
|
|
|
|
2026-01-30 14:18:07 +08:00
|
|
|
docs: build_docs
|
2025-11-20 10:44:59 +08:00
|
|
|
python -m http.server -d docs/html
|
2026-01-30 14:18:07 +08:00
|
|
|
|
|
|
|
|
count:
|
|
|
|
|
# you need download `tokei` it can download by cargo
|
2026-05-05 15:59:31 +08:00
|
|
|
tokei libs runtime src -e tests -e libs/mcode
|
2026-01-30 14:18:07 +08:00
|
|
|
|
2026-02-19 11:20:01 +08:00
|
|
|
count-file:
|
|
|
|
|
# you need download `tokei` it can download by cargo
|
2026-05-05 15:59:31 +08:00
|
|
|
tokei libs runtime src -e tests -e libs/mcode --files
|
2026-02-19 11:20:01 +08:00
|
|
|
|
2026-02-21 16:02:53 +08:00
|
|
|
clean:
|
|
|
|
|
cbuild clean
|
|
|
|
|
|
|
|
|
|
build:
|
2026-05-05 15:59:31 +08:00
|
|
|
cbuild build -cclang --release
|
2026-02-21 16:02:53 +08:00
|
|
|
|
|
|
|
|
build-install: build
|
2026-05-05 15:59:31 +08:00
|
|
|
cp ./build/release/scc ./scc
|
2026-02-21 16:02:53 +08:00
|
|
|
|
|
|
|
|
test-scc:
|
|
|
|
|
# windows: (Get-Content a.txt -Raw) -replace '\x1b\[[0-9;]*[a-zA-Z]', '' | Set-Content clean.txt
|
|
|
|
|
# linux: sed 's/\x1b\[[0-9;]*[a-zA-Z]//g' a.txt > clean.txt
|
|
|
|
|
just clean
|
|
|
|
|
just build-install
|
|
|
|
|
just clean
|
2026-02-21 23:53:44 +08:00
|
|
|
cbuild build -cscc
|
|
|
|
|
|
|
|
|
|
debug-scc:
|
|
|
|
|
just clean
|
|
|
|
|
just build-install
|
|
|
|
|
just clean
|
|
|
|
|
cbuild build -cscc --dev --record --dry-run
|