Sha256: 09cdf99f8d043e4e8323c470496e44707b6acf4ff5f5acdfd89177e0b4f35cab
Contents?: true
Size: 693 Bytes
Versions: 1
Compression:
Stored size: 693 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__ desc 'Clones the skeleton kit to test-kit for unit testing.' task :prepare do |t| if File.exists? test_kit puts 'Test kit exists, no need to clone it.' else Git.clone 'git://github.com/razor-x/skeleton-kit.git', test_kit end end desc 'Updates the test-kit with git pull' task :update => [ :prepare ] do |t| Git.open(test_kit).pull end desc 'Hard reset the test-kit to the last commit' 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.2.0 | Rakefile |