carrier/devbox.json

38 lines
965 B
JSON
Raw Normal View History

{
"$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"
],
"env": {
"PATH": "/opt/homebrew/bin:/opt/homebrew/sbin:$PATH",
"PKG_CONFIG_PATH": "/opt/homebrew/lib/pkgconfig",
"PKG_CONFIG_PATH_arm64_apple_darwin": "/opt/homebrew/lib/pkgconfig"
},
"shell": {
"init_hook": [],
"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"
2026-10-03 11:29:06 +03:00
],
"package": [
"flatpak-builder --force-clean --user --install-deps-from=flathub --install .flatpak com.randogoth.carrier.json"
]
}
}
}