-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
33 lines (27 loc) · 713 Bytes
/
Copy pathjustfile
File metadata and controls
33 lines (27 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
_default:
just --list
# Run cargo clippy and cargo fmt
lint:
cargo clippy \
--all-targets \
--all-features \
--locked \
-- \
-D warnings \
-D clippy::dbg_macro
cargo fmt
# Apply fixes reported by `just lint`
lint-fix:
cargo clippy \
--all-targets \
--all-features \
--locked \
--fix --allow-dirty
cargo fmt
# Generates the `paperdown.schema.json`
gen-schema:
cargo run -p xtask_codegen -- json-schema
# Install the paperdown binary (release mode) to `~/.cargo/bin/paperdown`.
# Note that a `~/.local/bin/paperdown` installed another way may shadow this.
install-binary:
cargo install --path . --force --profile=release