Sha256: 91a18fddb82debc02a5bbde39868af7391e8567d7708e679f47d686e17f7cab0

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

require 'bundler'
Bundler.setup

# TODO: SG 10/4/13
# These lines seem to break trying to include frank-cucumber (maybe because it's not a cucumber run?)
# Would really like to fix this, not sure how.
# Bundler.require

require 'rake'

desc "Default: build and test"
task :default => [:build, :test]

desc "Bootstrap dependencies for the lib"
task :bootstrap do
  system("which -s brew") || fail("Cannot find 'brew' command. Have you installed homebrew?")
  system("brew update > /dev/null") || fail("Error: updating homebrew failed")
  system("which -s xctool") || system("brew install xctool") || fail("Error: installing xctool failed")
end

desc "Clean and build the lib"
task :build do
  system("xctool -workspace static-lib.xcworkspace -scheme static-lib -sdk iphoneos clean build") || fail("Error building lib")
end

desc "Clean, build the lib, run unit tests"
task :test do
  system("xctool -workspace static-lib.xcworkspace -scheme static-lib -sdk iphonesimulator clean test") || fail("Error running unit tests")
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xcbootstrap-0.1.0 templates/static-lib/Rakefile
xcbootstrap-0.0.3 templates/static-lib/Rakefile
xcbootstrap-0.0.2 templates/static-lib/Rakefile
xcbootstrap-0.0.1 templates/static-lib/Rakefile