diff --git a/aliases/carapace.elv b/aliases/carapace.elv new file mode 100644 index 0000000..2cfc919 --- /dev/null +++ b/aliases/carapace.elv @@ -0,0 +1,12 @@ +edit:add-var updatecarapace~ []{ + var wd = ~/Documents/OtherGo/github.com/rsteube/carapace-bin + var bd = ~/Go/bin + cd $wd + git pull + cd cmd/carapace + go generate ./... + go build -ldflags="-s -w" + if (bool ?(test -f carapace)) { + mv -f carapace $bd + } +}