diff options
Diffstat (limited to 'devbox.json.back')
| -rw-r--r-- | devbox.json.back | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/devbox.json.back b/devbox.json.back new file mode 100644 index 0000000..ff6dc1e --- /dev/null +++ b/devbox.json.back @@ -0,0 +1,26 @@ +{ + "packages": [ + "rustup@latest", + "libiconv@latest", + "openssl@latest" + ], + "shell": { + "init_hook": [ + "projectDir=$PWD/.devbox", + "echo $projectDir", + "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-src", + "rustup component add rust-analyzer", + "cargo fetch" + ], + "scripts": { + "test": "cargo test -- --show-output", + "start": "cargo run", + "build-docs": "cargo doc" + } + } +} |
