summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile20
1 files changed, 0 insertions, 20 deletions
diff --git a/justfile b/justfile
index ab47566..1e0efea 100644
--- a/justfile
+++ b/justfile
@@ -1,7 +1,5 @@
alias fmt := format
-head := `git rev-parse HEAD`
-
_default:
@just --list
@@ -35,21 +33,3 @@ check:
@# Check Nix flake
nix flake check --print-build-logs --verbose
cd examples/nixos/ && nix flake check --print-build-logs --verbose --override-input temp-postgres ../..
-
-# Update Nix flake inputs, and Rust dependencies.
-update:
- @# Update Nix flake inputs.
- git diff --stat --exit-code
- nix flake update
- nix develop --command just check
- git diff --stat --exit-code -- . ':(exclude)flake.lock'
- git diff --no-patch --exit-code flake.lock || git commit --message 'Update Nix flake inputs' flake.lock
- @# Update Rust dependencies.
- git diff --stat --exit-code
- nix develop --command cargo upgrade
- nix develop --command cargo update
- nix develop --command just check
- git diff --stat --exit-code -- . ':(exclude)Cargo.toml' ':(exclude)Cargo.lock'
- git diff --no-patch --exit-code Cargo.lock || git commit --message 'Update Rust dependencies' Cargo.toml Cargo.lock
- @# Show commits.
- git --no-pager log --stat {{ head }}..
Generated by cgit. See skreutz.com for my tech blog and contact information.