chore: rebrand as backrest

This commit is contained in:
Gareth George
2023-12-22 09:06:23 +00:00
parent c03ddef18e
commit 94f73d456c
71 changed files with 777 additions and 776 deletions

View File

@@ -2,17 +2,17 @@
(cd webui && npm i && npm run build)
for bin in restora-*; do
for bin in backrest-*; do
rm -f $bin
done
find webui/dist -name '*.map' -exec rm ./{} \;
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o restora-linux-amd64
GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o restora-linux-arm64
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o restora-darwin-amd64
GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o restora-darwin-arm64
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o backrest-linux-amd64
GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o backrest-linux-arm64
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o backrest-darwin-amd64
GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o backrest-darwin-arm64
for bin in restora-*; do
for bin in backrest-*; do
rice append --exec $bin
done

View File

@@ -2,6 +2,6 @@
set -x
(cd webui && npm i && npm run build)
rm -f restora
rm -f backrest
go build .
rice append --exec restora
rice append --exec backrest