Skip to content

Commit

Permalink
Merge pull request #69 from MiguelMadero/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
rwjblue committed Mar 23, 2016
2 parents da78265 + 9980a39 commit eb5d496
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,14 @@ To keep this from getting out of hand, `ember-try` will limit the versions of Em
Configuration will be read from a file in your ember app in `config/ember-try.js`. It should look like:

```js
module.exports = function(project) {
/*jshint node:true*/

module.exports = function() {
return {
/*
`command` - a single command that, if set, will be the default command used by `ember-try`.
P.S. The command doesn't need to be an `ember <something>` command, they can be anything.
Keep in mind that this config file is JavaScript, so you can code in here to determine the command.
Keep in mind that this config file is JavaScript, so you can code in here to determine the command.
*/
command: 'ember test --reporter xunit',
/*
Expand All @@ -122,24 +124,24 @@ module.exports = function(project) {
*/
npmOptions: ['--loglevel=silent', '--no-shrinkwrap=true'],
/*
If set to true, the `versionCompatibility` key under `ember-addon` in `package.json` will be used to
If set to true, the `versionCompatibility` key under `ember-addon` in `package.json` will be used to
automatically generate scenarios that will deep merge with any in this configuration file.
*/
useVersionCompatibility: true,
scenarios: [
{
name: 'Ember 1.10 with ember-data',

/*
`command` can also be overridden at the scenario level.
`command` can also be overridden at the scenario level.
*/
command: 'ember test --filter ember-1-10'
command: 'ember test --filter ember-1-10',
bower: {
dependencies: {
'ember': '1.10.0',
'ember-data': '1.0.0-beta.15'
}
}
},
},
{
name: 'Ember 1.11.0-beta.5',
Expand Down Expand Up @@ -180,8 +182,8 @@ module.exports = function(project) {
}
}
}
]}
}
]};
};
```

Scenarios are sets of dependencies (`bower` and `npm` only). They can be specified exactly as in the `bower.json` or `package.json`
Expand Down

0 comments on commit eb5d496

Please sign in to comment.