Files
scc/justfile

34 lines
654 B
Makefile
Raw Normal View History

list:
just --list
build_docs:
doxygen Doxyfile
docs: build_docs
python -m http.server -d docs/html
count:
# you need download `tokei` it can download by cargo
tokei libs runtime src -e tests
count-file:
# you need download `tokei` it can download by cargo
tokei libs runtime src -e tests --files
clean:
cbuild clean
build:
cbuild build -cclang
build-install: build
cp ./build/dev/scc.exe ./scc.exe
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
cbuild run -cscc -- -h