diff --git a/justfile b/justfile index 408db79..eceeb3a 100644 --- a/justfile +++ b/justfile @@ -32,7 +32,7 @@ docs-build: output-clean earthly +docs rsync --stats -ha ./build/docs/ ./web-frontend/src/lib/docs/ for f in "${PWD}/web-frontend/src/lib/docs/"*.html; do ./web-frontend/node_modules/.bin/inliner "${f}" >"${f}-2" && mv -v -- "${f}-2" "${f}"; done - cargo doc --all + # cargo doc --all # TODO: Clippy rust-watch: @@ -54,6 +54,9 @@ init: cargo fetch cargo install wasm-pack +clean: output-clean + cargo clean + init-python: if [ ! -d "wordlist/venv" ]; then python3 -m virtualenv wordlist/venv -p "$(which python3)"; fi; export OSTYPE=linux-gnu && . wordlist/venv/bin/activate export OSTYPE=linux-gnu && . wordlist/venv/bin/activate && pip install -r wordlist/requirements.txt && python -c 'import nltk; nltk.download('wordnet')'