Skip to content

Conversation

@defanator
Copy link
Member

Proposed changes

Relatively small change to show help when make is issued without any explicit target.

Before:

% make
rm -rf ./build/packages

After:

% make

Usage:
  help                      Show help message
  all                       Compile and run code.
  clean                     Remove build directory
  run                       Run code
  run-debug                 Run code
  build                     Build agent executable
  deps                      Update dependencies in vendor folders
  lint                      Run linter
  format                    Format code
  install-tools             Install dependencies in tools.go
  local-apk-package         Create local apk package
  local-deb-package         Create local deb package
  local-rpm-package         Create local rpm package
  local-txz-package         Create local txz package
  build-txz-packager-docker  Builds txz packager docker image
  test                      Run all tests
  unit-test                 Run unit tests
  test-core                 Run core unit tests
  test-plugins              Run plugins unit tests
  test-extensions           Run extensions unit tests
  test-sdk                  Run sdk unit tests from root directory
  component-test            Run component tests
  test-component-build      Compile component tests
  test-docker-component     Run integration tests in docker
  test-component-run        Run component tests
  performance-test          Run performance tests
  test-bench                Run benchmark tests
  build-benchmark-docker    Build benchmark test docker image for NGINX Plus, need nginx-repo.crt and nginx-repo.key in build directory
  test-install              Run agent install test
  certs                     Generate TLS certificates
  run-docker                Run docker container from specified DOCKER_TAG
  package                   Create final packages for all supported distros
  gpg-key                   Generate GPG public key
  release                   Publish tarball to the UPLOAD_URL

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md)

@netlify
Copy link

netlify bot commented Dec 15, 2022

Deploy Preview for agent-public-docs canceled.

Name Link
🔨 Latest commit 3161804
🔍 Latest deploy log https://app.netlify.com/sites/agent-public-docs/deploys/639b07bee3d812000894c53f

@oliveromahony oliveromahony added good-first-issue Good for newcomers chore Pull requests for routine tasks labels Dec 16, 2022
@oliveromahony oliveromahony merged commit f2f6d10 into nginx:main Dec 16, 2022
@defanator defanator deleted the makefile-default-target branch January 2, 2023 11:59
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 good-first-issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants