diff options
author | Alan Pearce | 2024-05-26 12:17:46 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-26 12:17:46 +0200 |
commit | 5de9a88a3e9104ab231e15d7e797a8ab29e4b904 (patch) | |
tree | 8e157a99e1433e053e152b61dc59b2b4f246cf92 | |
parent | 6da43da44fcb3a79891f5d463bbfd6fd7e86c248 (diff) | |
download | searchix-5de9a88a3e9104ab231e15d7e797a8ab29e4b904.tar.lz searchix-5de9a88a3e9104ab231e15d7e797a8ab29e4b904.tar.zst searchix-5de9a88a3e9104ab231e15d7e797a8ab29e4b904.zip |
build: add task to update dependencies
-rw-r--r-- | flake.nix | 1 | ||||
-rw-r--r-- | justfile | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 7410e09..38cfada 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,6 @@ flake-utils.url = "github:numtide/flake-utils"; pre-commit-hooks = { url = "github:cachix/pre-commit-hooks.nix"; - inputs.flake-utils.follows = "flake-utils"; }; gomod2nix = { url = "github:nix-community/gomod2nix"; 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 . |