Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

add update and verify makefile #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

calvin0327
Copy link
Contributor

Signed-off-by: calvin0327 wen.chen@daocloud.io

What type of PR is this?
/kind feature

What this PR does / why we need it:
add makefile command:

make update

above command exec workflow include:

  1. update ./vendor dir
  2. update CRD files of ./config/crds dir
  3. update ./pkg/generate dir and ./pkg/api/*/zz_generated*.go files
  4. update import aliases of all go files
  5. format go file by gofmt
make verify

above command verify the files generated by make update.

Which issue(s) this PR fixes:
Fixes # #7

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: calvin0327 <wen.chen@daocloud.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant