Rakefile in cocoapods-packager-qcloud-1.5.3 vs Rakefile in cocoapods-packager-qcloud-1.5.4
- old
+ new
@@ -1,14 +1,22 @@
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.gemspec"
+end
+
+task :install => [:build] do
+ sh "gem install cocoapods-packager-qcloud-*.gem"
+ sh "rm -rf cocoapods-packager-qcloud-*.gem"
+end
task :default => :spec