You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2019/10/30 15:18:05 UTC

[cordova-ios] branch master updated: Reuse common xcodebuild arguments in npm scripts (#704)

This is an automated email from the ASF dual-hosted git repository.

raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git


The following commit(s) were added to refs/heads/master by this push:
     new a0baeca  Reuse common xcodebuild arguments in npm scripts (#704)
a0baeca is described below

commit a0baecafc6d8fde523faad8f46164928aad856d4
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Wed Oct 30 16:17:55 2019 +0100

    Reuse common xcodebuild arguments in npm scripts (#704)
---
 package.json | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 51b5907..0704be1 100644
--- a/package.json
+++ b/package.json
@@ -24,8 +24,9 @@
     "cover": "nyc jasmine --config=tests/spec/coverage.json",
     "e2e-tests": "jasmine tests/spec/create.spec.js",
     "objc-tests": "npm run objc-tests-lib && npm run objc-tests-framework",
-    "objc-tests-lib": "xcodebuild -quiet test -workspace tests/cordova-ios.xcworkspace -scheme CordovaLibTests -destination \"platform=iOS Simulator,name=iPhone 8\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"",
-    "objc-tests-framework": "xcodebuild -quiet test -workspace tests/cordova-ios.xcworkspace -scheme CordovaFrameworkApp -destination \"platform=iOS Simulator,name=iPhone 8\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"",
+    "objc-tests-lib": "npm run xcodebuild -- -scheme CordovaLibTests",
+    "objc-tests-framework": "npm run xcodebuild -- -scheme CordovaFrameworkApp",
+    "xcodebuild": "xcodebuild -quiet test -workspace tests/cordova-ios.xcworkspace -destination \"platform=iOS Simulator,name=iPhone 8\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"",
     "preobjc-tests": "tests/scripts/killsim.js",
     "unit-tests": "jasmine --config=tests/spec/unit.json",
     "eslint": "eslint bin tests"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org