Sha256: 526e614228b82b3ebc2f7633fba62e53ae750e43dd6af667791c324559c6eeab

Contents?: true

Size: 614 Bytes

Versions: 5

Compression:

Stored size: 614 Bytes

Contents

require 'bundler/gem_tasks'
require File.join([File.dirname(__FILE__),'lib','cocoapods_packager.rb'])
def specs(dir)
  FileList["spec/#{dir}/*_spec.rb"].shuffle.join(' ')
end

desc 'Runs all the specs'
task :spec do
  sh "bundle exec bacon #{specs('**')}"
end

task :build do
  sh "gem build cocoapods-packager-qcloud.gemspec"
end

task :install => [:build] do
  sh "gem install cocoapods-packager-qcloud-*.gem"
  sh "rm -rf cocoapods-packager-qcloud-*.gem"
end


task :publish => [:build] do
  sh "gem push cocoapods-packager-qcloud-*.gem"
  sh "rm -rf cocoapods-packager-qcloud-*.gem"
end
task :default => :spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cocoapods-packager-qcloud-1.5.18 Rakefile
cocoapods-packager-qcloud-1.5.17 Rakefile
cocoapods-packager-qcloud-1.5.15 Rakefile
cocoapods-packager-qcloud-1.5.14 Rakefile
cocoapods-packager-qcloud-1.5.13 Rakefile