-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevbox.json
More file actions
34 lines (34 loc) · 918 Bytes
/
devbox.json
File metadata and controls
34 lines (34 loc) · 918 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
34
{
"$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",
"xorg.libX11@latest",
"nodejs@latest",
"protobuf@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\"",
"export RUSTFLAGS='--cfg reqwest_unstable'",
"rustup default stable",
"rustup component add rust-analyzer",
],
"scripts": {
"test": "cargo test -- --show-output",
"start": "cargo run",
"build-docs": "cargo doc",
},
},
}