Sha256: 047d59e036e64b81fade37e5563bb4111e5e7a25775065f00c9e8505eeccf73e

Contents?: true

Size: 937 Bytes

Versions: 14

Compression:

Stored size: 937 Bytes

Contents

# Contributing

## Installation
Rather than installing `cpl` as a Ruby gem, install this repo locally and alias `cpl` command globally for easier access, e.g.:

```sh
git clone https://github.com/shakacode/heroku-to-control-plane

# Create an alias in some local shell startup script, e.g., `.profile`, `.bashrc`, etc.
alias cpl="~/projects/heroku-to-control-plane/cpl"
```

Or set the path of the Ruby gem in your Gemfile.

```ruby
gem 'cpl', path: '~/projects/heroku-to-control-plane'
```

## Linting
Be sure to run `rubocop -a` before committing code.

## Debugging

1. Install gem: `gem install debug`
2. Require: Add a `require "debug"` statement to the file you want to debug.
3. Add breakpoint: Add a `debugger` statement to the line you want to debug.
4. Modify the `lib/command/test.rb` file to triggger the code that you want to run.
5. Run the test in your test app with a `.controlplane` directory. `cpl test -a my-app-name`

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cpl-1.0.2 CONTRIBUTING.md
cpl-1.0.1 CONTRIBUTING.md
cpl-1.0.0 CONTRIBUTING.md
cpl-0.7.0 CONTRIBUTING.md
cpl-0.6.0 CONTRIBUTING.md
cpl-0.5.1 CONTRIBUTING.md
cpl-0.5.0 CONTRIBUTING.md
cpl-0.4.1 CONTRIBUTING.md
cpl-0.4.0 CONTRIBUTING.md
cpl-0.3.3 CONTRIBUTING.md
cpl-0.3.2 CONTRIBUTING.md
cpl-0.3.1 CONTRIBUTING.md
cpl-0.3.0 CONTRIBUTING.md
cpl-0.2.0 CONTRIBUTING.md