Skip to content

Commit af228e0

Browse files
committed
fix(deps): add capnp std and mockery
Change-Id: Ic3b3119ddb335915e2c4dfbfe7babe9b073a347c
1 parent d074e63 commit af228e0

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/scripts/qemu-2-run-in-vm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function print_sys_info() {
4949
df -h
5050

5151
# tool chains
52-
go version || ture
52+
go version || true
5353
go env || true
5454

5555
docker version || true
@@ -120,7 +120,7 @@ function prapre_test_env() {
120120
esac
121121

122122
which mockery || go install github.com/vektra/mockery/v2@latest
123-
which capnpc-go || go install capnproto.org/go/capnp/v3/capnpc-go@v3.1.0-alpha.1
123+
which capnpc-go || go install capnproto.org/go/capnp/v3/capnpc-go@v3.1.0-alpha.2
124124
git config --global --add safe.directory /mnt/host
125125
}
126126

Dockerfile.devel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ ENV PATH="${GOPATH}/bin:${GOROOT}/bin:/usr/lib/llvm15/bin:${PATH}"
1818
RUN go install mvdan.cc/gofumpt@v0.8.0 && \
1919
go install golang.org/x/tools/cmd/goimports@v0.36.0 && \
2020
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2 && \
21-
go install capnproto.org/go/capnp/v3/capnpc-go@v3.1.0-alpha.1
21+
go install github.com/vektra/mockery/v2@v2.53.6 && \
22+
go install capnproto.org/go/capnp/v3/capnpc-go@v3.1.0-alpha.2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ sync:
7272
@cp $(BPF_DIR)/*.o $(APP_CMD_OUTPUT)/bpf/
7373
@cp *.conf $(APP_CMD_OUTPUT)/conf/
7474

75-
build: $(APP_CMD_BIN_TARGETS)
75+
build: gen-build $(APP_CMD_BIN_TARGETS)
7676
$(APP_CMD_BIN_TARGETS): $(GO_SRCS)
7777
$(APP_CMD_OUTPUT)/bin/%:
7878
@mkdir -p $(APP_CMD_OUTPUT)/bin

0 commit comments

Comments
 (0)