Sha256: 3ed849350663b915170969a9271e5612163952efabdde189c068c1c2f92170a9
Contents?: true
Size: 625 Bytes
Versions: 1
Compression:
Stored size: 625 Bytes
Contents
task :default => [:rspec ] task :install do [ %q(chmod -R o+r .), %q(rm -f *.gem), %q(rm -rf build), %q(gem uninstall -a --executables warp-dir 2> /dev/null; true), %q(gem build warp-dir.gemspec) ].each do |command| sh command end sh <<-EOF export gem_file=$(ls -1 *.gem | tail -1) export gem_name=${gem_file//.gem/} if [ "$(which ruby)" == "/usr/bin/ruby" ]; then gem install $gem_file -n /usr/local/bin --no-ri --no-rdoc else gem install $gem_file --no-ri --no-rdoc fi EOF exit 0 end require 'bundler' require "bundler/gem_tasks" require 'rake/clean' require 'rspec/core/rake_task'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
warp-dir-1.1.3 | Rakefile |