Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix indentation #139

Merged
merged 1 commit into from
Aug 4, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
141 changes: 71 additions & 70 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,83 +109,84 @@ Configuration will be read from a file in your ember app in `config/ember-try.js

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.
*/
command: 'ember test --reporter xunit',
/*
`bowerOptions` - options to be passed to `bower`.
*/
bowerOptions: ['--allow-root=true'],
/*
`npmOptions` - options to be passed to `npm`.
*/
npmOptions: ['--loglevel=silent', '--no-shrinkwrap=true'],
/*
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: 'ember test --filter ember-1-10',
bower: {
dependencies: {
'ember': '1.10.0',
'ember-data': '1.0.0-beta.15'
}
/*
`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.
*/
command: 'ember test --reporter xunit',
/*
`bowerOptions` - options to be passed to `bower`.
*/
bowerOptions: ['--allow-root=true'],
/*
`npmOptions` - options to be passed to `npm`.
*/
npmOptions: ['--loglevel=silent', '--no-shrinkwrap=true'],
/*
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: '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',
bower: {
dependencies: {
'ember': '1.11.0-beta.5'
}
}
},
{
name: 'Ember canary with Ember-Data 2.3.0',
/*
`allowedToFail` - If true, if this scenario fails it will not fail the entire try command.
*/
allowedToFail: true,
npm: {
devDependencies: {
'ember-data': '2.3.0',

// you can remove any package by marking `null`
'some-optional-package': null
{
name: 'Ember 1.11.0-beta.5',
bower: {
dependencies: {
'ember': '1.11.0-beta.5'
}
}
},
bower: {
dependencies: {
'ember': 'components/ember#canary'
{
name: 'Ember canary with Ember-Data 2.3.0',
/*
`allowedToFail` - If true, if this scenario fails it will not fail the entire try command.
*/
allowedToFail: true,
npm: {
devDependencies: {
'ember-data': '2.3.0',

// you can remove any package by marking `null`
'some-optional-package': null
}
},
resolutions: {
'ember': 'canary'
bower: {
dependencies: {
'ember': 'components/ember#canary'
},
resolutions: {
'ember': 'canary'
}
}
}
},
{
name: 'Ember beta',
bower: {
dependencies: {
'ember': 'components/ember#beta'
},
resolutions: { // Resolutions are only necessary when they do not match the version specified in `dependencies`
'ember': 'beta'
},
{
name: 'Ember beta',
bower: {
dependencies: {
'ember': 'components/ember#beta'
},
resolutions: { // Resolutions are only necessary when they do not match the version specified in `dependencies`
'ember': 'beta'
}
}
}
}
]};
]
};
};
```

Expand Down