You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/02/07 15:56:18 UTC
[cordova-windows] branch janpio-CB-13829 updated: Improve
readability of logging
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch janpio-CB-13829
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git
The following commit(s) were added to refs/heads/janpio-CB-13829 by this push:
new 7093434 Improve readability of logging
7093434 is described below
commit 70934348404fdc8a32c78c76c7f50c469b4dd27c
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Wed Feb 7 16:56:10 2018 +0100
Improve readability of logging
---
template/cordova/lib/MSBuildTools.js | 1 +
template/cordova/prebuild.js | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/template/cordova/lib/MSBuildTools.js b/template/cordova/lib/MSBuildTools.js
index b54ed05..7710372 100644
--- a/template/cordova/lib/MSBuildTools.js
+++ b/template/cordova/lib/MSBuildTools.js
@@ -34,6 +34,7 @@ MSBuildTools.prototype.buildProject = function (projFile, buildType, buildarch,
events.emit('log', 'Building project: ' + projFile);
events.emit('log', '\tConfiguration : ' + buildType);
events.emit('log', '\tPlatform : ' + buildarch);
+ events.emit('log', '\tBuildflags : ' + buildFlags);
var checkWinSDK = function (target_platform) {
return require('./check_reqs').isWinSDKPresent(target_platform);
diff --git a/template/cordova/prebuild.js b/template/cordova/prebuild.js
index bd708e4..e595923 100644
--- a/template/cordova/prebuild.js
+++ b/template/cordova/prebuild.js
@@ -23,7 +23,7 @@
/* eslint no-useless-escape : 0 */
module.exports = function patch (platform) {
- console.log('Patching ' + platform + ' in prebuild event...');
+ console.log('Prebuild: Patching platform `' + platform + '`');
var shell = require('shelljs');
var path = require('path');
@@ -75,7 +75,7 @@ module.exports = function patch (platform) {
var subst = '$1<script type="text/javascript" src="' + basejsSrc + '"></script>\n$1$2';
shell.sed('-i', appendBaseJsRe, subst, startPageFilePath);
- console.log('Injected base.js reference to the ' + startPage);
+ console.log('Injected `base.js` reference to `' + startPage + '`');
// 4. Remove all 'wrong' base.js references, which might left from another project type build:
for (var plat in basejsSrcMap) {
--
To stop receiving notification emails like this one, please contact
janpio@apache.org.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org