Skip to content

Commit

Permalink
build: add scripts/generate
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Serong <[email protected]>
(cherry picked from commit f45269c)
  • Loading branch information
tserong authored and bk201 committed Aug 28, 2024
1 parent 8fb99e8 commit eb39a88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN go install k8s.io/code-generator/cmd/[email protected]

ENV DAPPER_ENV REPO TAG
ENV DAPPER_SOURCE /go/src/github.com/harvester/node-manager/
ENV DAPPER_OUTPUT ./bin ./manifests
ENV DAPPER_OUTPUT ./bin ./manifests ./pkg
ENV DAPPER_DOCKER_SOCKET true
ENV HOME ${DAPPER_SOURCE}
WORKDIR ${DAPPER_SOURCE}
Expand Down
6 changes: 6 additions & 0 deletions scripts/generate
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -e

cd $(dirname $0)/..

go generate

0 comments on commit eb39a88

Please sign in to comment.