-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdevbox.json
More file actions
30 lines (30 loc) · 797 Bytes
/
devbox.json
File metadata and controls
30 lines (30 loc) · 797 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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.10.7/.schema/devbox.schema.json",
"packages": [
"rustup",
"rustfmt",
"clippy",
"gcc",
"pkg-config",
"cmake",
"grcov@latest",
"xdg-utils@latest",
"gitflow@latest",
],
"shell": {
"init_hook": [
"projectDir=$(dirname $(readlink -f \"$0\"))",
"rustupHomeDir=\"$projectDir\"/.rustup",
"mkdir -p $rustupHomeDir",
"export RUSTUP_HOME=$rustupHomeDir",
"export LIBRARY_PATH=$LIBRARY_PATH:\"$projectDir/nix/profile/default/lib\"",
"rustup default stable",
"rustup component add rust-analyzer",
],
"scripts": {
"test": "cargo test -- --show-output",
"start": "cargo run",
"build-docs": "cargo doc",
},
},
}