about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
authorAlan Pearce2024-05-26 12:17:46 +0200
committerAlan Pearce2024-05-26 12:17:46 +0200
commit5de9a88a3e9104ab231e15d7e797a8ab29e4b904 (patch)
tree8e157a99e1433e053e152b61dc59b2b4f246cf92 /justfile
parent6da43da44fcb3a79891f5d463bbfd6fd7e86c248 (diff)
downloadsearchix-5de9a88a3e9104ab231e15d7e797a8ab29e4b904.tar.lz
searchix-5de9a88a3e9104ab231e15d7e797a8ab29e4b904.tar.zst
searchix-5de9a88a3e9104ab231e15d7e797a8ab29e4b904.zip
build: add task to update dependencies
Diffstat (limited to 'justfile')
-rw-r--r--justfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/justfile b/justfile
index f5c6682..2e99e03 100644
--- a/justfile
+++ b/justfile
@@ -4,6 +4,16 @@ default:
 prepare:
 	nix build .#css -o frontend/static/base.css
 
+update-go-dependencies:
+	go get -u all
+	go mod tidy
+	gomod2nix
+
+update-nix-dependencies:
+	nix flake update
+
+update-dependencies: update-go-dependencies update-nix-dependencies
+
 checkformat:
 	gofmt -d .
 	goimports -d .