-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
60 lines (45 loc) · 1.63 KB
/
justfile
File metadata and controls
60 lines (45 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# CosmOS Build System
set shell := ["powershell.exe", "-c"]
# Default: build and run in QEMU (BIOS)
default: run-qemu
# Setup development environment
setup:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 setup
# Build BIOS bootloader and kernel
build:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 build
# Build in debug mode
build-debug:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 build -Mode debug
# Build UEFI bootloader
build-uefi:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 build-uefi
# Build UEFI bootloader in debug mode
build-uefi-debug:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 build-uefi -Mode debug
# Run in QEMU (BIOS mode)
run-qemu:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 run-qemu
# Run in QEMU (UEFI mode)
run-uefi-qemu:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 run-uefi-qemu
# Run in VirtualBox (BIOS mode)
run-vbox:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 run-vbox
# Create UEFI disk image
create-uefi-image:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 create-uefi-image
# Create VirtualBox VDI
create-vdi:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 create-vdi
# Update and restart VM
update-vm:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 update-vm
# Clean build artifacts
clean:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 clean
# Clean and rebuild
rebuild: clean build
# Build release artifacts (BIOS image, UEFI bootloader, kernel binary, and ELF)
release:
powershell -ExecutionPolicy Bypass -File cosmos.ps1 release