Install dependencies and run tests
rake Dependencies, tests, archive in Release configuration and upload to TestFlight
rake testflight | #!/bin/sh | |
| # Simple iOS build script | |
| # Written by Aron Bury, 29/11/2011 | |
| appname="AwesomeApp" | |
| target_name="$appname" | |
| sdk="iphoneos" | |
| certificate="iPhone Developer: Joe Blogs" |
| // gem install cocoapods-playgrounds | |
| // pod playgrounds LibYAML | |
| // Update: @floriankugler had a great idea to use UnsafeBufferPointer | |
| // Paste in the following: | |
| import LibYAML | |
| public struct YAMLError: ErrorType { |
| import QuartzCore | |
| func executionTimeInterval(block: () -> ()) -> CFTimeInterval { | |
| let start = CACurrentMediaTime() | |
| block(); | |
| let end = CACurrentMediaTime() | |
| return end - start | |
| } | |
| #!/bin/bash | |
| set -u | |
| # Setup architectures, library name and other vars + cleanup from previous runs | |
| ARCHS=("armv7" "armv7s" "i386") | |
| SDKS=("iphoneos" "iphoneos" "macosx") | |
| LIB_NAME="libevent-2.0.21-stable" | |
| TEMP_DIR="$(pwd)/tmp" | |
| TEMP_LIB_PATH="$(pwd)/tmp/${LIB_NAME}" |
thanks 4 putting source for a noob to learn a little
DocSets-for-iOS and paid 4 it too https://github.com/omz/DocSets-for-iOS/
Real Time Congress
| require 'yaml' | |
| require 'uri' | |
| require 'tempfile' | |
| require 'tmpdir' | |
| SDK_DIR = "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk" | |
| TESTFLIGHT_URL = 'http://testflightapp.com/api/builds.json' | |
| PROJECT_DIR = File.dirname __FILE__ | |
| RUBIOS_DIR = File.join(PROJECT_DIR, 'rubios') |
| #!/bin/sh | |
| # Simple iOS build script | |
| # Written by Aron Bury, 29/11/2011 | |
| appname="AwesomeApp" | |
| target_name="$appname" | |
| sdk="iphoneos" | |
| certificate="iPhone Developer: Joe Blogs" |
| require 'yaml' | |
| require 'uri' | |
| require 'tempfile' | |
| require 'tmpdir' | |
| SDK_DIR = "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk" | |
| TESTFLIGHT_URL = 'http://testflightapp.com/api/builds.json' | |
| PROJECT_DIR = File.dirname __FILE__ | |
| RUBIOS_DIR = File.join(PROJECT_DIR, 'rubios') |