📝 [shared] Add justfile comments
This commit is contained in:
parent
4b3ad49384
commit
4f126bab90
7
justfile
7
justfile
@ -1,25 +1,30 @@
|
||||
# List all receipes
|
||||
default:
|
||||
@just --list
|
||||
|
||||
# Format all files in repo
|
||||
fmt:
|
||||
treefmt --on-unmatched info
|
||||
|
||||
# Build a specific host but don't activate it. Host must use same system as target system
|
||||
build HOST:
|
||||
git add .
|
||||
just fmt
|
||||
nh os build . -H {{HOST}}
|
||||
|
||||
|
||||
# Switch to new config, but don't add to bootloader
|
||||
test *FLAGS:
|
||||
git add .
|
||||
just fmt
|
||||
nh os test . {{FLAGS}}
|
||||
|
||||
# Switch to new config and add to bootloader
|
||||
switch *FLAGS:
|
||||
git add .
|
||||
just fmt
|
||||
nh os switch . {{FLAGS}}
|
||||
|
||||
# Switch to new config and add to bootloader without formatting or adding to git
|
||||
switch-now *FLAGS:
|
||||
nh os switch . {{FLAGS}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user