Chore: Migrate build/run scripts to cargo xtask #13

Merged
david merged 2 commits from chore/xtask into main 2026-10-22 18:48:17 +00:00
Owner

haalt die .ps1 en bash scripts weg. En doet nu gewoon een cross platform ding.

Gebruik alleen hierna wel

cargo xtask run     # build and boot in QEMU (default)
cargo xtask build   # build the kernel only
cargo xtask image   # build target/ray-os.img + .iso
cargo xtask vbox    # build and run in the "RayOS" VirtualBox VM

Want cargo run en cargo build werken hierna niet meer! Ook geen scripts meer aanroepen want die zijn ook gone!

Zie readme voor meer info

haalt die .ps1 en bash scripts weg. En doet nu gewoon een cross platform ding. Gebruik alleen hierna wel ```sh cargo xtask run # build and boot in QEMU (default) cargo xtask build # build the kernel only cargo xtask image # build target/ray-os.img + .iso cargo xtask vbox # build and run in the "RayOS" VirtualBox VM ``` Want `cargo run` en `cargo build` werken hierna niet meer! Ook geen scripts meer aanroepen want die zijn ook gone! Zie readme voor meer info
david self-assigned this 2026-10-22 17:33:16 +00:00
Chore: Migrate build/run scripts to cargo xtask
All checks were successful
Code quality / build (pull_request) Successful in 2m24s
59b1271203
Replaces the Windows-only PowerShell scripts and the Linux-only qemu.sh
runner with a cross-platform `xtask` crate: `cargo xtask run/build/image/vbox`.

- Adds the xtask workspace member; drops the global UEFI build target
  default (it would force xtask's own host build onto that target too).
- cargo build/run now fail fast with a compile_error pointing at
  `cargo xtask` instead of no_std/host linker errors.
- QEMU/OVMF/VBoxManage are resolved via PATH + env vars (OVMF_PATH,
  QEMU_PATH, VBOXMANAGE_PATH, VBOX_VM_NAME) instead of guessed,
  OS-specific install paths; .envrc.example documents the overrides.
- rust-toolchain.toml pins the nightly toolchain/components/targets so
  rustup installs them automatically.
- Renames the project/VM/disk-image branding from DavidOS to RayOS.
- Removes meta/, run_qemu.ps1, run_vbox.ps1 and the unused font8x16.raw.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Author
Owner

Merge eerst deze #12!

# **Merge eerst deze https://git.davidnet.net/david/operating-system/pulls/12!**
david changed title from Chore: Migrate build/run scripts to cargo xtask to WIP: Chore: Migrate build/run scripts to cargo xtask 2026-10-22 17:48:20 +00:00
david changed title from WIP: Chore: Migrate build/run scripts to cargo xtask to Chore: Migrate build/run scripts to cargo xtask 2026-10-22 18:30:10 +00:00
Merge branch 'main' into chore/xtask
All checks were successful
Code quality / build (pull_request) Successful in 4m46s
5f8bf343f3
david merged commit 38d688a68d into main 2026-10-22 18:48:17 +00:00
david deleted branch chore/xtask 2026-10-22 18:48:17 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
david/operating-system!13
No description provided.