Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.21 KB

CONTRIBUTING.md

File metadata and controls

60 lines (41 loc) · 1.21 KB

Contribute

A guide for contributing to new-dockerfile

Getting Started

  1. Install asdf - A CLI tool that can manage multiple language runtime versions on a per-project basis

  2. Clone the repo and open in VSCode

git clone https://github.com/flexstack/new-dockerfile
code new-dockerfile
  1. Install the project's dependencies
asdf install
go mod download

Development

Run the CLI in development mode:

go run ./cmd/new-dockerfile --help

Vet code

go vet ./...

Run tests

go test -v ./...

Open an issue

If you find a bug or want to request a new feature, please open an issue.

Submit a pull request

Before submitting a feature pull request, it is important to open an issue to discuss what you plan to work on to ensure success in releasing your changes. For small bug fixes or improvements, go ahead and submit a pull request without an issue.

  1. Fork the repo
  2. Create a new branch (git checkout -b feature/my-feature)
  3. Make your changes
  4. Commit your changes (git commit -am 'Add my feature')
  5. Push to the branch (git push origin feature/my-feature)
  6. Create a new Pull Request

License

MIT