2022-03-15 16:19:55 +00:00
|
|
|
edit:add-var maj-carapace~ {||
|
2021-12-27 17:54:26 +00:00
|
|
|
use path
|
2021-11-08 06:40:10 +00:00
|
|
|
var cur = (pwd)
|
|
|
|
var wd = $E:HOME/Documents/OtherGo/github.com/rsteube/carapace-bin
|
|
|
|
var bd = $E:HOME/Go/bin
|
2021-11-06 10:15:18 +00:00
|
|
|
cd $wd
|
|
|
|
git pull
|
|
|
|
cd cmd/carapace
|
|
|
|
go generate ./...
|
2021-12-26 10:36:12 +00:00
|
|
|
go build -ldflags="-s -w" -tags release
|
2021-12-27 17:54:26 +00:00
|
|
|
if (path:is-regular carapace) {
|
2021-11-06 10:15:18 +00:00
|
|
|
mv -f carapace $bd
|
|
|
|
}
|
2021-11-08 06:40:10 +00:00
|
|
|
cd $cur
|
2021-11-06 10:15:18 +00:00
|
|
|
}
|