Skip to content

Commit

Permalink
feat: implement forget operation
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgeorge committed Nov 29, 2023
1 parent 0c818bb commit 1164678
Show file tree
Hide file tree
Showing 23 changed files with 654 additions and 356 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ jobs:
with:
node-version: "20"

- name: Build WebUI
run: cd webui && npm install && npm run build

- name: Build
run: go build -v ./...
run: ./hack/build.sh

- name: Test
run: PATH=$(pwd):$PATH go test ./...
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
with:
node-version: "20"

- name: Build WebUI
run: cd webui && npm install && npm run build
- name: Install Deps
run: ./hack/install-deps.sh

- name: Build Binary
run: go build .
- name: Build
run: ./hack/build.sh

- name: Rename Files
run: |
Expand Down
19 changes: 14 additions & 5 deletions gen/go/v1/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

188 changes: 136 additions & 52 deletions gen/go/v1/operations.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions hack/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#! /bin/sh
set -x

(cd proto && ./update.sh)
(cd webui && npm run build)
(cd webui && npm i && npm run build)
rm -f resticui
go build ./cmd/resticui
go build .
rice append --exec resticui
1 change: 0 additions & 1 deletion hack/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ set -x

go install github.com/GeertJohan/go.rice/rice@latest
go install github.com/GeertJohan/go.rice@latest
python -m pip install lastversion
2 changes: 1 addition & 1 deletion hack/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
set -x

DEBUG=1 go run ./cmd/resticui
DEBUG=1 go run .
Loading

0 comments on commit 1164678

Please sign in to comment.