about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
authorAlan Pearce2024-05-05 21:39:26 +0200
committerAlan Pearce2024-05-05 21:39:26 +0200
commit7d08b696e9ab6de61c53a5dc9153595a5a8a6d98 (patch)
tree67611eb05cf2764be897138a8befbf4aeae1f9ff /justfile
parent71de5479bc625aa101f72a24b056b687b0630a9a (diff)
downloadsearchix-7d08b696e9ab6de61c53a5dc9153595a5a8a6d98.tar.lz
searchix-7d08b696e9ab6de61c53a5dc9153595a5a8a6d98.tar.zst
searchix-7d08b696e9ab6de61c53a5dc9153595a5a8a6d98.zip
build: fetch darwin and home-manager options
Diffstat (limited to 'justfile')
-rw-r--r--justfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/justfile b/justfile
index 0168d99..62e5659 100644
--- a/justfile
+++ b/justfile
@@ -7,6 +7,14 @@ prepare:
 update-nixos-options:
 	wgo run -exit ./process --input $(nix-build --no-out-link -A nixos-options)/share/doc/nixos/options.json --output data/nixos-options.json
 
+update-darwin-options:
+	wgo run -exit ./process --input $(nix-build --no-out-link -A darwin-options)/share/doc/darwin/options.json --output data/darwin-options.json
+
+update-home-manager-options:
+	wgo run -exit ./process --input $(nix-build --no-out-link -A home-manager-options)/share/doc/home-manager/options.json --output data/home-manager-options.json
+
+update-all-options: update-nixos-options update-darwin-options update-home-manager-options
+
 checkformat:
 	gofmt -d .
 	goimports -d .