From commits-return-51845-archive-asf-public=cust-asf.ponee.io@cordova.apache.org Wed Feb 14 16:12:11 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E9C2818067B for ; Wed, 14 Feb 2018 16:12:10 +0100 (CET) Received: (qmail 41049 invoked by uid 500); 14 Feb 2018 15:12:10 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 41038 invoked by uid 99); 14 Feb 2018 15:12:10 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2018 15:12:10 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 7CF4282515; Wed, 14 Feb 2018 15:12:08 +0000 (UTC) Date: Wed, 14 Feb 2018 15:12:08 +0000 To: "commits@cordova.apache.org" Subject: [cordova-windows] 01/03: notes on method usage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: janpio@apache.org In-Reply-To: <151862112779.25730.1924323490041889696@gitbox.apache.org> References: <151862112779.25730.1924323490041889696@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: cordova-windows X-Git-Refname: refs/heads/janpio-rework_MSBuildTools X-Git-Reftype: branch X-Git-Rev: 12d2c975925d6c79f322543b44f8dbc85737b9bd X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180214151208.7CF4282515@gitbox.apache.org> 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 janpio@apache.org. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org