2024-09-12 22:34:19 +02:00
|
|
|
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:
|
2024-11-11 23:02:38 +01:00
|
|
|
nix build .#patos
|
2024-10-13 23:39:56 +02:00
|
|
|
|
2024-11-16 17:15:56 +01:00
|
|
|
# Build PatOS image (developer mode)
|
|
|
|
build-devel-image:
|
|
|
|
nix build .#devel
|
|
|
|
|
2024-09-17 23:59:42 +02:00
|
|
|
run: build-image
|
2024-11-11 23:02:38 +01:00
|
|
|
qemu-uefi-tpm ./result/*.img
|
2024-11-16 17:15:56 +01:00
|
|
|
|
|
|
|
run-devel: build-devel-image
|
|
|
|
qemu-uefi-tpm ./result/*.img
|
|
|
|
|