20 lines
302 B
Makefile
20 lines
302 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_image
|
|
|
|
run: build-image
|
|
qemu-efi -hda ./result/disk.qcow2
|
|
|