fix: add git dep

This commit is contained in:
trev 2025-03-18 19:25:18 -04:00
parent 5e5a2cbaaa
commit e857a14fd7

View File

@ -52,6 +52,9 @@
{ {
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
packages = with pkgs; [ packages = with pkgs; [
git
nix-update
# Go backend # Go backend
go go
gotools gotools
@ -70,9 +73,6 @@
# Svelte frontend # Svelte frontend
nodejs_22 nodejs_22
# Nix
nix-update
# Helper scripts # Helper scripts
(writeShellApplication { (writeShellApplication {
name = "ts-run"; name = "ts-run";
@ -146,7 +146,7 @@
}) })
(writeShellApplication { (writeShellApplication {
name = "ts-release"; name = "ts-bump";
text = '' text = ''
git_root=$(git rev-parse --show-toplevel) git_root=$(git rev-parse --show-toplevel)
@ -165,10 +165,10 @@
cd "''${git_root}" cd "''${git_root}"
nix-update --flake --version "''${next_version_no_v}" --subpackage client default nix-update --flake --version "''${next_version_no_v}" --subpackage client default
git add flake.nix git add flake.nix
git commit -m "release: ''${version} -> ''${next_version}" git commit -m "bump: ''${version} -> ''${next_version}"
git push origin main git push origin main
git tag -a "''${next_version}" -m "release: ''${version} -> ''${next_version}" git tag -a "''${next_version}" -m "bump: ''${version} -> ''${next_version}"
git push origin "''${next_version}" git push origin "''${next_version}"
''; '';
}) })
@ -181,7 +181,6 @@
cd "''${git_root}/client" cd "''${git_root}/client"
npm run check npm run check
npm run format
npm run lint npm run lint
cd "''${git_root}/server" cd "''${git_root}/server"