Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B412B2009D9 for ; Thu, 19 May 2016 19:39:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B2A8B160A00; Thu, 19 May 2016 17:39:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2FBEB1609AE for ; Thu, 19 May 2016 19:39:23 +0200 (CEST) Received: (qmail 11932 invoked by uid 500); 19 May 2016 17:39:22 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 11918 invoked by uid 99); 19 May 2016 17:39:22 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2016 17:39:22 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F22EDDFADD; Thu, 19 May 2016 17:39:21 +0000 (UTC) From: ktop To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-lib pull request: CB-11023 Add attribute through config-fi... Content-Type: text/plain Message-Id: <20160519173921.F22EDDFADD@git1-us-west.apache.org> Date: Thu, 19 May 2016 17:39:21 +0000 (UTC) archived-at: Thu, 19 May 2016 17:39:23 -0000 Github user ktop commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/432#discussion_r63922339 --- Diff: cordova-lib/src/cordova/prepare.js --- @@ -116,6 +117,13 @@ function preparePlatforms (platformList, projectRoot, options) { var browserify = require('../plugman/browserify'); return browserify(project, platformApi); } + }) + .then(function () { + // Handle config-file in config.xml + var platformRoot = path.join(projectRoot, 'platforms', platform); + var platformJson = PlatformJson.load(platformRoot, platform); + var munger = new PlatformMunger(platform, platformRoot, platformJson); + munger.add_config_changes(project.projectConfig, /*should_increment=*/true).save_all(); --- End diff -- Thanks for reviewing, I'll make the change. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org