27 lines
427 B
Makefile
27 lines
427 B
Makefile
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
|
|
|
|
# Build PatOS image (developer mode)
|
|
build-devel-image:
|
|
nix build .#devel
|
|
|
|
run: build-image
|
|
qemu-uefi-tpm ./result/*.img
|
|
|
|
run-devel: build-devel-image
|
|
qemu-uefi-tpm ./result/*.img
|
|
|