switched to using dev shells for local development environment

This commit is contained in:
Leyla Becker 2024-11-11 18:38:44 -06:00
parent 22f6a37ea8
commit 64d547aa16
12 changed files with 64 additions and 19 deletions

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
#!/usr/bin/env nix-shell
#! nix-shell -i bash ../shell.nix
echo "restoring stashed changes"

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
#!/usr/bin/env nix-shell
#! nix-shell -i bash ../shell.nix
echo "stashing all uncommitted changes"
git stash -q --keep-index
@ -11,7 +12,7 @@ if [ ! $? -eq 0 ]; then
fi
echo "running linter"
./lint.sh
alejandra -q .
RESULT=$?