24 lines
396 B
Makefile
24 lines
396 B
Makefile
# Default: list available recipes
|
|
default:
|
|
@just --list
|
|
|
|
# Run moonfetch
|
|
run *args:
|
|
moon run cmd/main --target native -- {{args}}
|
|
|
|
# Type-check the project
|
|
check:
|
|
moon check --target native
|
|
|
|
# Run tests
|
|
test:
|
|
moon test --target native
|
|
|
|
# Build release binary
|
|
build:
|
|
moon build --target native --release
|
|
|
|
# Update interface files and format code
|
|
fmt:
|
|
moon info && moon fmt
|