summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--justfile11
1 files changed, 7 insertions, 4 deletions
diff --git a/justfile b/justfile
index 06381d1..2b23ac1 100644
--- a/justfile
+++ b/justfile
@@ -1,11 +1,14 @@
default:
@just --list
-os hostname='kansai':
- git add . && rui --allow-unfree os switch --hostname {{hostname}} -- --impure
+action target action:
+ git add . && rui --allow-unfree {{target}} {{action}} -- --impure
-home user='ebisu':
- git add . && rui --allow-unfree home switch --user {{user}} -- --impure
+build target:
+ just action {{target}} build
+
+switch target:
+ just action {{target}} switch
news user='ebisu':
rui home news --user {{user}} -- --impure