Add devbox config
This commit is contained in:
parent
0a55bb155d
commit
161a31de4b
2 changed files with 696 additions and 0 deletions
33
devbox.json
Normal file
33
devbox.json
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
|
||||
"packages": [
|
||||
"rustup@latest",
|
||||
"libiconv@latest",
|
||||
"nodejs@latest",
|
||||
"elmPackages.elm@latest",
|
||||
"elmPackages.elm-json@latest",
|
||||
"elmPackages.elm-format@latest",
|
||||
"elmPackages.elm-test@latest",
|
||||
"elmPackages.elm-review@latest",
|
||||
"elmPackages.elm-live@latest",
|
||||
"prettier@latest",
|
||||
"typescript-language-server@latest",
|
||||
"llvm@latest"
|
||||
],
|
||||
"shell": {
|
||||
"init_hook": [
|
||||
"set 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",
|
||||
"cargo fetch"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "cargo test -- --show-output",
|
||||
"start": "cargo run",
|
||||
"build-docs": "cargo doc"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue