Skip to content

Commit bd60811

Browse files
committed
Merge pull request #19 from ember-cli-deploy/verbose-support
Update to use new verbose option for logging
2 parents b50ccfe + 7d11548 commit bd60811

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = {
3030
project: this.project
3131
});
3232

33-
this.log('building app to `' + outputPath + '` using buildEnv `' + buildEnv + '`...');
33+
this.log('building app to `' + outputPath + '` using buildEnv `' + buildEnv + '`...', { verbose: true });
3434
return builder.build()
3535
.finally(function() {
3636
return builder.cleanup();
@@ -55,10 +55,10 @@ module.exports = {
5555

5656
if (files && files.length) {
5757
files.forEach(function(path) {
58-
self.log('✔ ' + path);
58+
self.log('✔ ' + path, { verbose: true });
5959
});
6060
}
61-
self.log('build ok');
61+
self.log('build ok', { verbose: true });
6262

6363
return Promise.resolve(files);
6464
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"dependencies": {
4646
"chalk": "^1.0.0",
4747
"ember-cli-babel": "^5.0.0",
48-
"ember-cli-deploy-plugin": "0.1.3",
48+
"ember-cli-deploy-plugin": "0.2.0",
4949
"glob": "^5.0.5",
5050
"rsvp": "^3.0.18"
5151
},

tests/unit/index-nodetest.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ describe('build plugin', function() {
1212
subject = require('../../index');
1313
mockUi = {
1414
messages: [],
15+
verbose: true,
1516
write: function() { },
1617
writeLine: function(message) {
1718
this.messages.push(message);

0 commit comments

Comments
 (0)