Justfile: describe the update recipes
This commit is contained in:
parent
77eb1e48e4
commit
3ee072f7ad
1 changed files with 3 additions and 1 deletions
4
Justfile
4
Justfile
|
@ -7,6 +7,7 @@ _DEFAULT_VERSION:
|
|||
_usage:
|
||||
just -l
|
||||
|
||||
# Re-render the default versions
|
||||
update-default-versions:
|
||||
#!/usr/bin/env bash
|
||||
template="$(just _DEFAULT_VERSION_TMPL)"
|
||||
|
@ -82,6 +83,7 @@ rebuild-this-device rebuildarg="dry-activate":
|
|||
fi
|
||||
fi
|
||||
|
||||
# Re-render the versions of a remote device and rebuild its environment
|
||||
update-remote-device device target rebuildmode='switch':
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
@ -111,7 +113,7 @@ update-remote-device device target rebuildmode='switch':
|
|||
|
||||
git commit -v ${outfile} -m "nix/os/devices/{{ device }}: bump versions"
|
||||
|
||||
# Update the channel versions and (by default) switch to new environment
|
||||
# Re-render the versions of the current device and rebuild its environment
|
||||
update-this-device rebuild-mode='switch':
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue