16 lines
326 B
Makefile
16 lines
326 B
Makefile
# List recipes.
|
|
default:
|
|
@just --list
|
|
|
|
# Build the release binary.
|
|
build:
|
|
moon build --target native --release
|
|
|
|
# Run the unit tests.
|
|
test:
|
|
moon test --target native
|
|
|
|
# Build orbit and install it to ~/.local/bin.
|
|
install: build
|
|
install -Dm755 _build/native/release/build/main/main.exe "$HOME/.local/bin/orbit"
|