Skip to content

Commit 089269b

Browse files
authored
Merge pull request #18 from ember-cli-deploy/chore/update-ember-cli
Update ember-cli and eliminate deprecation warning
2 parents dc01de4 + d280117 commit 089269b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1062
-1269
lines changed

.bowerrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
root: true,
3+
parserOptions: {
4+
ecmaVersion: 6,
5+
sourceType: 'module'
6+
},
7+
extends: 'eslint:recommended',
8+
env: {
9+
browser: true
10+
},
11+
rules: {
12+
}
13+
};

.jshintrc

Lines changed: 0 additions & 32 deletions
This file was deleted.

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
---
22
language: node_js
33
node_js:
4-
- "4"
4+
- "6"
55

66
sudo: false
77

88
cache:
99
yarn: true
10-
directories:
11-
- $HOME/.cache # includes bowers cache
1210

13-
before_script:
14-
- yarn global add bower # this would be better to do in install step,
15-
- bower install # once travis' yarn support improves
11+
before_install:
12+
- curl -o- -L https://yarnpkg.com/install.sh | bash
13+
- export PATH=$HOME/.yarn/bin:$PATH
14+
15+
install:
16+
- yarn install --no-lockfile
1617

1718
script:
1819
- yarn test

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,8 @@ Omitted keys are not displayed in listing the results.
6464

6565
## Tests
6666

67-
* ember test
67+
* yarn test
68+
69+
## Why `ember build` and `ember test` don't work
70+
71+
Since this is a node-only ember-cli addon, this package does not include many files and dependencies which are part of ember-cli's typical `ember build` and `ember test` processes.

addon/.gitkeep

Whitespace-only changes.

app/.gitkeep

Whitespace-only changes.

bower.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

ember-cli-build.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* jshint node: true */
1+
/*eslint-env node*/
22
'use strict';
33

44
var DeployPluginBase = require('ember-cli-deploy-plugin');
@@ -22,7 +22,7 @@ module.exports = {
2222
}
2323
},
2424

25-
displayRevisions: function(context) {
25+
displayRevisions: function(/* context */) {
2626
var table;
2727
var revisions = this.readConfig('revisions');
2828
if(!revisions || revisions.length === 0) {
@@ -41,7 +41,7 @@ module.exports = {
4141
} else {
4242
table = new LegacyTable(this, revisions);
4343
}
44-
44+
4545
table.display();
4646
}
4747
});

0 commit comments

Comments
 (0)