Compare commits
2 Commits
32b2c6301b
...
012e9be1dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
012e9be1dd | ||
|
|
d64999b59f |
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -4,7 +4,7 @@
|
|||||||
"--stdin",
|
"--stdin",
|
||||||
"--rustfmt"
|
"--rustfmt"
|
||||||
],
|
],
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": false,
|
||||||
"[rust]": {
|
"[rust]": {
|
||||||
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
||||||
},
|
},
|
||||||
|
|||||||
15
devenv.nix
15
devenv.nix
@@ -6,11 +6,12 @@
|
|||||||
|
|
||||||
# https://devenv.sh/packages/
|
# https://devenv.sh/packages/
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
nixfmt # needed for Nix IDE?
|
||||||
git
|
git
|
||||||
# rustc rustfmt cargo
|
# rustc rustfmt cargo
|
||||||
trunk cargo-generate
|
trunk cargo-generate
|
||||||
# LLVM tools for WebAssembly compilation
|
# LLVM tools for WebAssembly compilation
|
||||||
# llvm
|
llvm
|
||||||
lld
|
lld
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -39,9 +40,15 @@
|
|||||||
echo hello from $GREET
|
echo hello from $GREET
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
scripts.versions.exec = ''
|
||||||
|
git --version
|
||||||
|
uv run --locked python --version
|
||||||
|
rustc --version
|
||||||
|
'';
|
||||||
|
|
||||||
enterShell = ''
|
enterShell = ''
|
||||||
hello
|
hello
|
||||||
git --version
|
versions
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# https://devenv.sh/tasks/
|
# https://devenv.sh/tasks/
|
||||||
@@ -53,9 +60,7 @@
|
|||||||
# https://devenv.sh/tests/
|
# https://devenv.sh/tests/
|
||||||
enterTest = ''
|
enterTest = ''
|
||||||
echo "Running tests"
|
echo "Running tests"
|
||||||
git --version
|
versions
|
||||||
uv run --locked python --version
|
|
||||||
rustc --version
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# https://devenv.sh/git-hooks/
|
# https://devenv.sh/git-hooks/
|
||||||
|
|||||||
Reference in New Issue
Block a user