Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 193CB11873 for ; Sat, 5 Apr 2014 14:30:51 +0000 (UTC) Received: (qmail 62394 invoked by uid 500); 5 Apr 2014 14:30:50 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 62318 invoked by uid 500); 5 Apr 2014 14:30:48 -0000 Mailing-List: contact commits-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 commits@cordova.apache.org Received: (qmail 62311 invoked by uid 99); 5 Apr 2014 14:30:47 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Apr 2014 14:30:47 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 7994394B144; Sat, 5 Apr 2014 14:30:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: agrieve@apache.org To: commits@cordova.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: spec commit: Delete createmobilespec.sh now that it's been ported to .js Date: Sat, 5 Apr 2014 14:30:46 +0000 (UTC) Repository: cordova-mobile-spec Updated Branches: refs/heads/master 3dc13fa03 -> a2241c790 Delete createmobilespec.sh now that it's been ported to .js Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/a2241c79 Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/a2241c79 Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/a2241c79 Branch: refs/heads/master Commit: a2241c790ebdc8194e73e0bec1534efca4598d52 Parents: 3dc13fa Author: Andrew Grieve Authored: Sat Apr 5 10:30:22 2014 -0400 Committer: Andrew Grieve Committed: Sat Apr 5 10:30:22 2014 -0400 ---------------------------------------------------------------------- README.md | 2 +- createmobilespec.sh | 74 ------------------------------------------------ 2 files changed, 1 insertion(+), 75 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/a2241c79/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index a0f04f1..cb16a7e 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ This project is a set of automated & manual tests that test Cordova core functionality. -To set up the project, refer to the steps within `createmobilespec.sh`. +To set up the project, use `createmobilespec/createmobilespec.js`. ### Performance ### http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/a2241c79/createmobilespec.sh ---------------------------------------------------------------------- diff --git a/createmobilespec.sh b/createmobilespec.sh deleted file mode 100755 index 40d7636..0000000 --- a/createmobilespec.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/bash - -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - - -# Script creates a mobilespec project that uses all local repositories. -# It currently installs only the iOS and Android platforms. -# Based on: https://wiki.apache.org/cordova/WorkingWithThree#preview - -if [[ ! -d cordova-mobile-spec ]]; then - echo "Please run this script from the directory that contains cordova-mobile-spec" - exit 1 -fi - -if [[ -e mobilespec ]]; then - echo "Directory \"mobilespec\" already exists. Delete it first then re-run." - exit 1 -fi - -echo "Creating mobilespec project. If you have any errors, it may be from missing repositories." -echo "To clone needed repositories:" -echo " ./cordova-coho/coho repo-clone -r plugins -r mobile-spec -r android -r ios -r cli" -echo "To update all repositories:" -echo " ./cordova-coho/coho repo-update" -REPO_PARENT="$PWD" -set -e - -./cordova-cli/bin/cordova create mobilespec --link-to cordova-mobile-spec -( cd cordova-js; grunt ) || exit $? -cd mobilespec -echo '{ - "id":"org.apache.mobilespec", - "name":"mobilespec", - "lib": { - "android": { - "uri": "'"$REPO_PARENT/cordova-android"'" - }, - "ios": { - "uri": "'"$REPO_PARENT/cordova-ios"'" - } - } -}' > .cordova/config.json - -set -x -../cordova-cli/bin/cordova platform add ios android -../cordova-cli/bin/cordova plugin add ../cordova-mobile-spec/dependencies-plugin --searchpath "$REPO_PARENT" -rm -rf platforms/ios/CordovaLib -../cordova-ios/bin/update_cordova_subproject platforms/ios/mobilespec.xcodeproj -cp ../cordova-js/pkg/cordova.android.js platforms/android/platform_www/cordova.js -cp ../cordova-js/pkg/cordova.ios.js platforms/ios/platform_www/cordova.js -../cordova-cli/bin/cordova prepare -ln -s ../cordova-cli/bin/cordova cordova - -set +x -echo "App created in the mobilespec/ directory." -echo "Symlink to CLI created as mobilespec/cordova" - - -