https://github.com/thinkhr-code/ember-cli-deploy-clean-build
Ensure clean builds when you are deploying locally
https://github.com/thinkhr-code/ember-cli-deploy-clean-build
mammothhr
Last synced: 4 months ago
JSON representation
Ensure clean builds when you are deploying locally
- Host: GitHub
- URL: https://github.com/thinkhr-code/ember-cli-deploy-clean-build
- Owner: thinkhr-code
- License: mit
- Created: 2018-10-19T19:49:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-19T20:00:56.000Z (over 7 years ago)
- Last Synced: 2025-08-21T18:40:45.881Z (6 months ago)
- Topics: mammothhr
- Language: JavaScript
- Size: 309 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
ember-cli-deploy-clean-build
==============================================================================
[Short description of the addon.]
Installation
------------------------------------------------------------------------------
```
ember install ember-cli-deploy-clean-build
```
Usage
------------------------------------------------------------------------------
While it may be ideal to deploy from a clean environment (such as CI), sometimes you need to do that from a local build. When doing this, there are several things that can sneak into a build with undesirable outcomes:
- unstaged changes
- symlinked packages
This plugs into the ember-cli-deploy pipeline and ensures a clean build.
It currently supports a single environmenet variable to override: `SAFETY_ASSURED`, e.g.
```
SAFETY_ASSURED=1 ember deploy production
```
NOTE: this makes use of bash commands, so currently only supports Linux environments.
Contributing
------------------------------------------------------------------------------
### Installation
* `git clone `
* `cd ember-cli-deploy-clean-build`
* `npm install`
### Linting
* `npm run lint:hbs`
* `npm run lint:js`
* `npm run lint:js -- --fix`
### Running tests
* `ember test` – Runs the test suite on the current Ember version
* `ember test --server` – Runs the test suite in "watch mode"
* `ember try:each` – Runs the test suite against multiple Ember versions
### Running the dummy application
* `ember serve`
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
License
------------------------------------------------------------------------------
This project is licensed under the [MIT License](LICENSE.md).