Add clean target
This commit is contained in:
parent
e20cbc6d93
commit
e7744656b1
5
justfile
5
justfile
@ -32,7 +32,7 @@ docs-build: output-clean
|
|||||||
earthly +docs
|
earthly +docs
|
||||||
rsync --stats -ha ./build/docs/ ./web-frontend/src/lib/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
|
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
|
# TODO: Clippy
|
||||||
rust-watch:
|
rust-watch:
|
||||||
@ -54,6 +54,9 @@ init:
|
|||||||
cargo fetch
|
cargo fetch
|
||||||
cargo install wasm-pack
|
cargo install wasm-pack
|
||||||
|
|
||||||
|
clean: output-clean
|
||||||
|
cargo clean
|
||||||
|
|
||||||
init-python:
|
init-python:
|
||||||
if [ ! -d "wordlist/venv" ]; then python3 -m virtualenv wordlist/venv -p "$(which python3)"; fi; export OSTYPE=linux-gnu && . wordlist/venv/bin/activate
|
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')'
|
export OSTYPE=linux-gnu && . wordlist/venv/bin/activate && pip install -r wordlist/requirements.txt && python -c 'import nltk; nltk.download('wordnet')'
|
||||||
|
Loading…
Reference in New Issue
Block a user