[cordova-windows] 01/03: notes on method usage
This is an automated email from the ASF dual-hosted git repository. janpio pushed a commit to branch janpio-rework_MSBuildTools in repository https://gitbox.apache.org/repos/asf/cordova-windows.git commit 12d2c975925d6c79f322543b44f8dbc85737b9bd Author: Jan Piotrowski AuthorDate: Tue Feb 13 17:23:52 2018 +0100 notes on method usage --- template/cordova/lib/MSBuildTools.js | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/template/cordova/lib/MSBuildTools.js b/template/cordova/lib/MSBuildTools.js index 7710372..ada837a 100644 --- a/template/cordova/lib/MSBuildTools.js +++ b/template/cordova/lib/MSBuildTools.js @@ -70,6 +70,7 @@ MSBuildTools.prototype.buildProject = function (projFile, buildType, buildarch, }; // returns full path to msbuild tools required to build the project and tools version +// check_reqs.js -> run() module.exports.findAvailableVersion = function () { var versions = ['15.0', '14.0', '12.0', '4.0']; @@ -92,6 +93,8 @@ function findAllAvailableVersionsFallBack () { }); } +// build.js -> run() +// check_reqs.js -> checkMSBuild() module.exports.findAllAvailableVersions = function () { // CB-11548 use VSINSTALLDIR environment if defined to find MSBuild. If VSINSTALLDIR // is not specified or doesn't contain the MSBuild path we are looking for - fall back @@ -155,7 +158,8 @@ function checkMSBuildVersion (version) { }); } -/// returns an array of available UAP Versions +// returns an array of available UAP Versions +// prepare.js module.exports.getAvailableUAPVersions = function () { var programFilesFolder = process.env['ProgramFiles(x86)'] || process.env['ProgramFiles']; // No Program Files folder found, so we won't be able to find UAP SDK -- To stop receiving notification emails like this one, please contact jan...@apache.org. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[cordova-windows] 01/03: notes on method usage
This is an automated email from the ASF dual-hosted git repository. janpio pushed a commit to branch janpio-rework_MSBuildTools in repository https://gitbox.apache.org/repos/asf/cordova-windows.git commit 0ecda20cd0716ed1e8e01c6fe5c55780d03d1b7a Author: Jan Piotrowski AuthorDate: Tue Feb 13 17:23:52 2018 +0100 notes on method usage --- template/cordova/lib/MSBuildTools.js | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/template/cordova/lib/MSBuildTools.js b/template/cordova/lib/MSBuildTools.js index 7710372..ada837a 100644 --- a/template/cordova/lib/MSBuildTools.js +++ b/template/cordova/lib/MSBuildTools.js @@ -70,6 +70,7 @@ MSBuildTools.prototype.buildProject = function (projFile, buildType, buildarch, }; // returns full path to msbuild tools required to build the project and tools version +// check_reqs.js -> run() module.exports.findAvailableVersion = function () { var versions = ['15.0', '14.0', '12.0', '4.0']; @@ -92,6 +93,8 @@ function findAllAvailableVersionsFallBack () { }); } +// build.js -> run() +// check_reqs.js -> checkMSBuild() module.exports.findAllAvailableVersions = function () { // CB-11548 use VSINSTALLDIR environment if defined to find MSBuild. If VSINSTALLDIR // is not specified or doesn't contain the MSBuild path we are looking for - fall back @@ -155,7 +158,8 @@ function checkMSBuildVersion (version) { }); } -/// returns an array of available UAP Versions +// returns an array of available UAP Versions +// prepare.js module.exports.getAvailableUAPVersions = function () { var programFilesFolder = process.env['ProgramFiles(x86)'] || process.env['ProgramFiles']; // No Program Files folder found, so we won't be able to find UAP SDK -- To stop receiving notification emails like this one, please contact jan...@apache.org. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org