Sha256: af7eaaefe42b0dd1a78085b08d29ff0c01c32ad4d13bee058426fef9ab309265

Contents?: true

Size: 732 Bytes

Versions: 3

Compression:

Stored size: 732 Bytes

Contents

namespace :ios do
  namespace :carthage do
    desc "updates our Carthage dependencies to the latest version"
    task :update do
      carthage_cmd = []
      carthage_cmd << "carthage"
      carthage_cmd << "update"
      carthage_cmd << "--platform ios"
      carthage_cmd << "--no-use-binaries"
      carthage_cmd = carthage_cmd.join(" ")

      system(carthage_cmd)
    end

    desc "Fetches our Carthage dependencies to the locked in versions"
    task :fetch do
      carthage_cmd = []
      carthage_cmd << "carthage"
      carthage_cmd << "bootstrap"
      carthage_cmd << "--platform ios"
      carthage_cmd << "--no-use-binaries"
      carthage_cmd = carthage_cmd.join(" ")

      system(carthage_cmd)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ios_toolchain-0.2.2 lib/ios_toolchain/tasks/ios/dependencies.rake
ios_toolchain-0.2.1 lib/ios_toolchain/tasks/ios/dependencies.rake
ios_toolchain-0.2.0 lib/ios_toolchain/tasks/ios/dependencies.rake