Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add beautified Makefile, Help information, better output #363

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

Conversation

cubxxw
Copy link

@cubxxw cubxxw commented Mar 6, 2023

I wish the makefile had better output alerts

[root@dev kubeval]# make

Usage:

  make [target]

Targets:

  build            Build the project
  vandor            verify dependencies have expected conten
  bin              Create the bin directory
  release          Create a release
  snapshot         Creating a Snapshot Version
  lint             Use golint to check the code specification
  docker           Build and push the docker image
  docker-offline   Build and push an offline docker image
  vet              Check the code using go vet
  test             Run the tests
  watch            Monitor code changes and run tests automatically
  acceptance       Operational acceptance test
  cover            Generate code coverage reports
  clean            Clear the generated file
  fmt              Format the code
  check            Generates the checksum of the file
  choco            Build and push the chocolatey package
  help             Display help information

```bash
[root@dev kubeval]# make

Usage:

  make [target]

Targets:

  build            Build the project
  vandor            verify dependencies have expected conten
  bin              Create the bin directory
  release          Create a release
  snapshot         Creating a Snapshot Version
  lint             Use golint to check the code specification
  docker           Build and push the docker image
  docker-offline   Build and push an offline docker image
  vet              Check the code using go vet
  test             Run the tests
  watch            Monitor code changes and run tests automatically
  acceptance       Operational acceptance test
  cover            Generate code coverage reports
  clean            Clear the generated file
  fmt              Format the code
  check            Generates the checksum of the file
  choco            Build and push the chocolatey package
  help             Display help information
```

Signed-off-by: Xinwei Xiong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant