Sha256: ca1e00de69f3864c5727d978002eddb1965a2745d16d32a9330991250e4e5dbf
Contents?: true
Size: 539 Bytes
Versions: 1
Compression:
Stored size: 539 Bytes
Contents
#!/usr/bin/env rake require 'bundler/gem_tasks' require "bump/tasks" require 'git' namespace 'develop' do test_kit = File.expand_path '../test_kit', __FILE__ task :prepare do |t| puts 'Test kit exists, no need to clone it.' if File.exists? test_kit Git.clone 'git://github.com/razor-x/kits_skeleton.git', test_kit unless File.exists? test_kit end task :update => [ :prepare ] do |t| Git.open(test_kit).pull end task :reset => [ :prepare, :update ] do |t| Git.open(test_kit).reset_hard('master') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kit-1.1.1 | Rakefile |