📝 [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:
|
default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
|
# Format all files in repo
|
||||||
fmt:
|
fmt:
|
||||||
treefmt --on-unmatched info
|
treefmt --on-unmatched info
|
||||||
|
|
||||||
|
# Build a specific host but don't activate it. Host must use same system as target system
|
||||||
build HOST:
|
build HOST:
|
||||||
git add .
|
git add .
|
||||||
just fmt
|
just fmt
|
||||||
nh os build . -H {{HOST}}
|
nh os build . -H {{HOST}}
|
||||||
|
|
||||||
|
# Switch to new config, but don't add to bootloader
|
||||||
test *FLAGS:
|
test *FLAGS:
|
||||||
git add .
|
git add .
|
||||||
just fmt
|
just fmt
|
||||||
nh os test . {{FLAGS}}
|
nh os test . {{FLAGS}}
|
||||||
|
|
||||||
|
# Switch to new config and add to bootloader
|
||||||
switch *FLAGS:
|
switch *FLAGS:
|
||||||
git add .
|
git add .
|
||||||
just fmt
|
just fmt
|
||||||
nh os switch . {{FLAGS}}
|
nh os switch . {{FLAGS}}
|
||||||
|
|
||||||
|
# Switch to new config and add to bootloader without formatting or adding to git
|
||||||
switch-now *FLAGS:
|
switch-now *FLAGS:
|
||||||
nh os switch . {{FLAGS}}
|
nh os switch . {{FLAGS}}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user