Add justfile

This commit is contained in:
Daniel Lundin 2024-09-12 22:34:19 +02:00
parent 44d8f9c90d
commit 1013fb31ed
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 74 additions and 53 deletions

16
justfile Normal file
View file

@ -0,0 +1,16 @@
set shell := ["/usr/bin/env", "bash", "-euo", "pipefail", "-c"]
[private]
default:
@just --list
# Update nix flake
update:
nix flake update
# Build all targets
build: build-image
# Build PatOS image
build-image:
nix build .#patos_image