README: add instructions for development build

The readme currently only details how to install the CLI from a binary
package, not how to build the CLI for testing during development. Add
instructions for how to build and test changes.

Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
This commit is contained in:
Joseph Kogut 2021-10-01 12:30:03 -07:00
parent 9487b33144
commit a92db0f068

View File

@ -20,6 +20,14 @@ GitHub](https://github.com/balena-io/balena-cli/), and your contribution is also
Check the [balena CLI installation instructions on Check the [balena CLI installation instructions on
GitHub](https://github.com/balena-io/balena-cli/blob/master/INSTALL.md). GitHub](https://github.com/balena-io/balena-cli/blob/master/INSTALL.md).
## Development
You can build the CLI for testing during development like so:
`npm install && npm run build`
After the build is completed, run `bin/balena` to test your changes.
## Choosing a shell (command prompt/terminal) ## Choosing a shell (command prompt/terminal)
On **Windows,** the standard Command Prompt (`cmd.exe`) and On **Windows,** the standard Command Prompt (`cmd.exe`) and