# run the tests
test:
    LOG_LEVEL=trace cargo test --tests -- --nocapture

# run the tests with coverage
test-coverage:
    cargo tarpaulin --tests

# update the dependencies to the latest version
deps-update:
    cargo upgrade -i allow && cargo update

# run clippy
format:
    cargo fmt

# build the program
build:
    cargo build

# run the program formatting the output with jq
dev:
    cargo run | jq

# run the program
run:
    cargo run

# run the program with cargo-watch
watch :
    cargo watch -x run

# fix all clippy warnings
fix: 
    cargo fix --allow-dirty --allow-staged

# clean up the node_modules directory
clean:
    rm -rf node_modules
    rm -rf rnode_modules
    rm -rf pnpm-lock.yaml
    rm -rf yarn.lock
    rm -rf .arriba

example-basic:
    cargo run --example basic

example-recursive-tasks:
    cargo run --example recursive-tasks