carrier/devbox.json

36 lines
784 B
JSON

{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.17.2/.schema/devbox.schema.json",
"packages": [
"rustc@latest",
"cargo@latest",
"pkg-config@latest",
"rustfmt@latest",
"nixpkgs#wayland",
"nixpkgs#libxkbcommon",
"nixpkgs#mesa",
"nixpkgs#libGL",
"nixpkgs#vulkan-loader"
],
"shell": {
"init_hook": [
". \"$PWD/scripts/devbox-libs.sh\""
],
"scripts": {
"build": [
"cargo build --release"
],
"run": [
"cargo build --release && ./target/release/carrier"
],
"dev": [
"cargo build && ./target/debug/carrier"
],
"test": [
"cargo test"
],
"check": [
"cargo fmt --check && cargo build && cargo test"
]
}
}
}