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 help for Makefile #228

Merged
merged 3 commits into from
Sep 8, 2022
Merged

Add help for Makefile #228

merged 3 commits into from
Sep 8, 2022

Conversation

lucacome
Copy link
Member

@lucacome lucacome commented Sep 7, 2022

Adds help (as default target) in the Makefile:

❯ make help
Usage:

    make <target>

Targets:

    build                          Build the binary
    clean-go-cache                 Clean go cache
    clean                          Clean the build
    container                      Build the container
    create-kind-cluster            Create a kind cluster
    delete-kind-cluster            Delete kind cluster
    deps                           Add missing and remove unused modules, verify deps and download them to local cache
    dev-all                        Run all the development checks
    fmt                            Run go fmt against code
    generate                       Run go generate
    help                           Display this help
    lint                           Run golangci-lint against code
    njs-fmt                        Run prettier against the njs httpmatches module
    njs-unit-test                  Run unit tests for the njs httpmatches module
    unit-test                      Run unit tests for the go code
    update-codegen                 Update codegen
    update-crds                    Update CRDs
    verify-codegen                 Verify code generation
    vet                            Run go vet against code

Adds a couple of checks for docker and go

@lucacome lucacome requested a review from a team September 7, 2022 01:15
@lucacome lucacome self-assigned this Sep 7, 2022
Copy link
Contributor

@pleshakov pleshakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice

@lucacome lucacome merged commit b6760f1 into main Sep 8, 2022
@lucacome lucacome deleted the chore/add-make-help branch September 8, 2022 18:16
@lucacome lucacome added the chore Pull requests for routine tasks label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants