cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [3/11] updates for 2.3.0 support. bumped version. removed checked-in native project fixtures for tests, now on install create fixtures based on actual `create` scripts for platforms.
Date Wed, 09 Jan 2013 23:00:35 GMT
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5742036a/spec/fixtures/projects/native/ios/balls/Resources/splash/Default@2x~iphone.png
----------------------------------------------------------------------
diff --git a/spec/fixtures/projects/native/ios/balls/Resources/splash/Default@2x~iphone.png
b/spec/fixtures/projects/native/ios/balls/Resources/splash/Default@2x~iphone.png
deleted file mode 100644
index bd24886..0000000
Binary files a/spec/fixtures/projects/native/ios/balls/Resources/splash/Default@2x~iphone.png
and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5742036a/spec/fixtures/projects/native/ios/balls/Resources/splash/Default~iphone.png
----------------------------------------------------------------------
diff --git a/spec/fixtures/projects/native/ios/balls/Resources/splash/Default~iphone.png b/spec/fixtures/projects/native/ios/balls/Resources/splash/Default~iphone.png
deleted file mode 100644
index 6fcba56..0000000
Binary files a/spec/fixtures/projects/native/ios/balls/Resources/splash/Default~iphone.png
and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5742036a/spec/fixtures/projects/native/ios/balls/balls-Info.plist
----------------------------------------------------------------------
diff --git a/spec/fixtures/projects/native/ios/balls/balls-Info.plist b/spec/fixtures/projects/native/ios/balls/balls-Info.plist
deleted file mode 100644
index 4cb8362..0000000
--- a/spec/fixtures/projects/native/ios/balls/balls-Info.plist
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<!--
-#
-# 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.
-#
--->
-<plist version="1.0">
-<dict>
-	<key>CFBundleIcons</key>
-	<dict>
-		<key>CFBundlePrimaryIcon</key>
-		<dict>
-			<key>CFBundleIconFiles</key>
-			<array>
-                <string>icon.png</string>
-                <string>icon@2x.png</string>
-                <string>icon-72.png</string>
-                <string>icon-72@2x.png</string>
-			</array>
-			<key>UIPrerenderedIcon</key>
-			<false/>
-		</dict>
-	</dict>
-	<key>UISupportedInterfaceOrientations~ipad</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>UISupportedInterfaceOrientations</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-	</array>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>English</string>
-	<key>CFBundleDisplayName</key>
-	<string>${PRODUCT_NAME}</string>
-	<key>CFBundleExecutable</key>
-	<string>${EXECUTABLE_NAME}</string>
-	<key>CFBundleIconFile</key>
-	<string>icon.png</string>
-	<key>CFBundleIdentifier</key>
-	<string>ca.filmaj.balls</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>${PRODUCT_NAME}</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1.0</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>NSMainNibFile</key>
-	<string></string>
-	<key>NSMainNibFile~ipad</key>
-	<string></string>
-</dict>
-</plist>

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5742036a/spec/fixtures/projects/native/ios/balls/balls-Prefix.pch
----------------------------------------------------------------------
diff --git a/spec/fixtures/projects/native/ios/balls/balls-Prefix.pch b/spec/fixtures/projects/native/ios/balls/balls-Prefix.pch
deleted file mode 100644
index aac5514..0000000
--- a/spec/fixtures/projects/native/ios/balls/balls-Prefix.pch
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- 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.
- */
-//
-// Prefix header for all source files of the 'balls' target in the 'balls' project
-//
-
-#ifdef __OBJC__
-    #import <Foundation/Foundation.h>
-    #import <UIKit/UIKit.h>
-#endif

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5742036a/spec/fixtures/projects/native/ios/balls/main.m
----------------------------------------------------------------------
diff --git a/spec/fixtures/projects/native/ios/balls/main.m b/spec/fixtures/projects/native/ios/balls/main.m
deleted file mode 100644
index f832a05..0000000
--- a/spec/fixtures/projects/native/ios/balls/main.m
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- 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.
- */
-//
-//  main.m
-//  balls
-//
-//  Created by ___FULLUSERNAME___ on ___DATE___.
-//  Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-int main(int argc, char *argv[]) {
-    
-    @autoreleasepool {
-	int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
-	return retVal;
-    }
-}

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5742036a/spec/fixtures/projects/native/ios/cordova/debug
----------------------------------------------------------------------
diff --git a/spec/fixtures/projects/native/ios/cordova/debug b/spec/fixtures/projects/native/ios/cordova/debug
deleted file mode 100755
index a326217..0000000
--- a/spec/fixtures/projects/native/ios/cordova/debug
+++ /dev/null
@@ -1,45 +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.
-#
-
-#
-# compile and launch a Cordova/iOS project to the simulator
-#
-
-set -e
-
-CORDOVA_PATH=$( cd "$( dirname "$0" )" && pwd )
-PROJECT_PATH=$CORDOVA_PATH/..
-
-for file in $PROJECT_PATH/*.xcodeproj; do
-  PROJECT_NAME=$(basename "$file" .xcodeproj)
-done;
-
-cd "$PROJECT_PATH"
-
-APP=build/$PROJECT_NAME.app
-SDK=`xcodebuild -showsdks | grep Sim | tail -1 | awk '{print $6}'`
-
-xcodebuild -project $PROJECT_NAME.xcodeproj -arch i386 -target $PROJECT_NAME -configuration
Debug -sdk $SDK clean build VALID_ARCHS="i386" CONFIGURATION_BUILD_DIR="$PROJECT_PATH/build"
-
-
-
-
-

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5742036a/spec/fixtures/projects/native/ios/cordova/emulate
----------------------------------------------------------------------
diff --git a/spec/fixtures/projects/native/ios/cordova/emulate b/spec/fixtures/projects/native/ios/cordova/emulate
deleted file mode 100755
index 63b3e4a..0000000
--- a/spec/fixtures/projects/native/ios/cordova/emulate
+++ /dev/null
@@ -1,58 +0,0 @@
-#! /bin/sh
-#
-# 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.
-#
-
-set -e
-
-CORDOVA_PATH=$( cd "$( dirname "$0" )" && pwd )
-PROJECT_PATH=$CORDOVA_PATH/..
-
-function getAppPath() {
-	for file in "$( find "$PROJECT_PATH" -type d -name '*.xcodeproj' | sort )"; do
-	  PROJECT_NAME=$(basename "$file" .xcodeproj)
-	done;
-	APP=build/$PROJECT_NAME.app
-	APP_PATH="$PROJECT_PATH/$APP"
-}
-
-APP_PATH=$1
-
-if [ $# -lt 1 ]; then
-	getAppPath
-fi
-
-if [ ! -d "$APP_PATH" ]; then
-	read -p "Project '$APP_PATH' is not built. Build? [y/n]: " REPLY 
-	if [ "$REPLY" == "y" ]; then 
-		$CORDOVA_PATH/debug
-		exit 0
-	else 
-		echo "$APP_PATH not found to emulate."
-		exit 1
-	fi	
-fi
-
-# launch using ios-sim
-
-if which ios-sim >/dev/null; then
-    ios-sim launch "$APP_PATH" --stderr "$CORDOVA_PATH/console.log" --stdout "$CORDOVA_PATH/console.log"
&
-else
-    echo -e '\033[31mError: ios-sim was not found. Please download, build and install version
1.4 or greater from https://github.com/phonegap/ios-sim into your path. Or "brew install ios-sim"
using homebrew: http://mxcl.github.com/homebrew/\033[m'; exit 1;
-fi
-

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5742036a/spec/fixtures/projects/native/ios/cordova/log
----------------------------------------------------------------------
diff --git a/spec/fixtures/projects/native/ios/cordova/log b/spec/fixtures/projects/native/ios/cordova/log
deleted file mode 100755
index 787a4c8..0000000
--- a/spec/fixtures/projects/native/ios/cordova/log
+++ /dev/null
@@ -1,23 +0,0 @@
-#! /bin/sh 
-#
-# 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.
-#
-
-CORDOVA_PATH=$( cd "$( dirname "$0" )" && pwd )
-
-tail -f "$CORDOVA_PATH/console.log"


Mime
View raw message