2019-04-30 11:43:40 +02:00
|
|
|
# Pluto
|
2019-04-17 18:40:26 +02:00
|
|
|
|
2019-07-19 10:41:55 +02:00
|
|
|
[![Build Status](https://dev.azure.com/samueltebbs/pluto/_apis/build/status/SamTebbs33.pluto?branchName=develop)](https://dev.azure.com/samueltebbs/samueltebbs/_build/latest?definitionId=1&branchName=develop)
|
|
|
|
|
2019-04-30 11:43:40 +02:00
|
|
|
## Build
|
|
|
|
Requires *xorriso* and the grub tools (such as *grub-mkrescue*).
|
|
|
|
```
|
|
|
|
mkdir -p bin/kernel
|
|
|
|
mkdir -p bin/iso/boot/grub
|
|
|
|
zig build
|
|
|
|
```
|
2019-04-17 18:40:26 +02:00
|
|
|
|
2019-04-30 11:43:40 +02:00
|
|
|
Note that the `mkdir` invocations are only needed once. See `zig build --help` for a list of options.
|
|
|
|
|
|
|
|
## Run
|
|
|
|
```
|
|
|
|
zig build run
|
|
|
|
```
|
|
|
|
To debug the kernel:
|
|
|
|
```
|
|
|
|
zig build run -Ddebug=true
|
|
|
|
zig build debug
|
|
|
|
```
|
|
|
|
|
|
|
|
# Test
|
|
|
|
```
|
|
|
|
zig build test
|
|
|
|
```
|