Skip to content

Update to use new verbose option for logging #19

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

Merged
merged 1 commit into from
Oct 25, 2015
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = {
project: this.project
});

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

if (files && files.length) {
files.forEach(function(path) {
self.log('✔ ' + path);
self.log('✔ ' + path, { verbose: true });
});
}
self.log('build ok');
self.log('build ok', { verbose: true });

return Promise.resolve(files);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"chalk": "^1.0.0",
"ember-cli-babel": "^5.0.0",
"ember-cli-deploy-plugin": "0.1.3",
"ember-cli-deploy-plugin": "0.2.0",
"glob": "^5.0.5",
"rsvp": "^3.0.18"
},
Expand Down
1 change: 1 addition & 0 deletions tests/unit/index-nodetest.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe('build plugin', function() {
subject = require('../../index');
mockUi = {
messages: [],
verbose: true,
write: function() { },
writeLine: function(message) {
this.messages.push(message);
Expand Down