From e7744656b1b75eb7bd17e791d56dfe4849cb3fb6 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 19 Mar 2023 15:58:07 -0400 Subject: [PATCH] Add clean target --- justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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')'