Compare commits

..

1 Commits

Author SHA1 Message Date
jolheiser ffbfbad566
feat: add simple dev contrib
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-03-25 17:04:07 -05:00
2 changed files with 15 additions and 19 deletions

View File

@ -1,19 +1,16 @@
def main [user = "jolheiser", base_url = "https://git.jolheiser.com", repos = ["ugit", "helix.drv", "tmpl"]] { # Clean
rm -r .ugit/
rm -r .ssh/
# Clean # SSH
try { mkdir .ssh
rm -r .ugit/ http get https://github.com/jolheiser.keys | save --force .ssh/authorized_keys
rm -r .ssh/
} # Git
mkdir .ugit
# SSH git clone --bare https://git.jolheiser.com/ugit.git .ugit/ugit.git
mkdir .ssh {"private": false, "description": "ugit"} | save .ugit/ugit.git/ugit.json
http get $"https://github.com/($user).keys" | save --force .ssh/authorized_keys git clone --bare https://git.jolheiser.com/helix.drv.git .ugit/helix.drv.git
{"private": false, "description": "helix.drv"} | save .ugit/helix.drv.git/ugit.json
# Git git clone --bare https://git.jolheiser.com/jolheiser.com.git .ugit/jolheiser.com.git
mkdir .ugit {"private": false, "description": "jolheiser.com"} | save .ugit/jolheiser.com.git/ugit.json
for $repo in $repos {
git clone --bare $"($base_url)/($repo).git" $".ugit/($repo).git"
{"private": false, "description": $repo} | save $".ugit/($repo).git/ugit.json"
}
}

View File

@ -5,7 +5,6 @@ layout {
command "nix" command "nix"
args "develop" args "develop"
size "90%" size "90%"
start_suspended true
} }
pane split_direction="vertical" { pane split_direction="vertical" {
pane { pane {