|
1 | 1 | # ember-cli-deploy-build
|
2 | 2 |
|
3 |
| -> A Build Plugin for ember-cli-deploy |
| 3 | +> An ember-cli-deploy plugin to build your ember-cli application |
4 | 4 |
|
5 |
| -This addon is an `ember-cli-deploy-plugin`. |
| 5 | +<hr/> |
| 6 | +**WARNING: This plugin is only compatible with ember-cli-deploy versions >= 0.5.0** |
| 7 | +<hr/> |
6 | 8 |
|
7 |
| -This addon will only work with ember-cli-deploy *>= v0.5.0* which is not yet released. |
| 9 | +This plugin will build your ember-cli application files and output them to a directory. |
| 10 | + |
| 11 | +## What is an ember-cli-deploy plugin? |
| 12 | + |
| 13 | +A plugin is an addon that can be executed as a part of the ember-cli-deploy pipeline. A plugin will implement one or more of the ember-cli-deploy's pipeline hooks. |
| 14 | + |
| 15 | +For more information on what plugins are and how they work, please refer to the [Plugin Documentation][1]. |
| 16 | + |
| 17 | +## Quick Start |
| 18 | + |
| 19 | +- Install this plugin |
| 20 | + |
| 21 | +```bash |
| 22 | +$ ember install ember-cli-deploy-build |
| 23 | +``` |
| 24 | + |
| 25 | +- Run the pipeline |
| 26 | + |
| 27 | +```bash |
| 28 | +$ ember deploy |
| 29 | +``` |
8 | 30 |
|
9 | 31 | ## Installation
|
| 32 | +Run the following command in your terminal: |
10 | 33 |
|
11 |
| -* `git clone` this repository |
12 |
| -* `npm install` |
13 |
| -* `bower install` |
| 34 | +```bash |
| 35 | +ember install ember-cli-deploy-build |
| 36 | +``` |
14 | 37 |
|
15 |
| -## Running |
| 38 | +## ember-cli-deploy Hooks Implemented |
16 | 39 |
|
17 |
| -* `ember server` |
18 |
| -* Visit your app at http://localhost:4200. |
| 40 | +For detailed information on what plugin hooks are and how they work, please refer to the [Plugin Documentation][1]. |
19 | 41 |
|
20 |
| -## Running Tests |
| 42 | +- `configure` |
| 43 | +- `build` |
| 44 | + |
| 45 | +## Configuration Options |
21 | 46 |
|
22 |
| -* `ember test` |
23 |
| -* `ember test --server` |
| 47 | +For detailed information on how configuration of plugins works, please refer to the [Plugin Documentation][1]. |
24 | 48 |
|
25 |
| -## Building |
| 49 | +### environment |
| 50 | + |
| 51 | +The evironment for which you'd like to build. This relates directly to the environments in your `config/environment.js` file. |
| 52 | + |
| 53 | +*Default:* `'production'` |
| 54 | + |
| 55 | +### outputPath |
| 56 | + |
| 57 | +The path to the directory you'd like the project to be built in to. |
| 58 | + |
| 59 | +*Default:* `tmp/deploy-dist` |
| 60 | + |
| 61 | +## Prerequisites |
| 62 | + |
| 63 | +None |
| 64 | + |
| 65 | +## Running Tests |
26 | 66 |
|
27 |
| -* `ember build` |
| 67 | +- `npm test` |
28 | 68 |
|
29 |
| -For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/). |
| 69 | +[1]: http://ember-cli.github.io/ember-cli-deploy/plugins "Plugin Documentation" |
0 commit comments