Sha256: ad36c4f6f65d12c123da18bcf76c7af385a3962440e4fddb2ee7d3849e9bd339

Contents?: true

Size: 539 Bytes

Versions: 1

Compression:

Stored size: 539 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'timeout'

def shell(*args)
  puts "running: #{args.join(' ')}"
  system(args.join(' '))
end

task :clean do
  shell('rm -rf pkg/ tmp/ coverage/ doc/ ' )
end

task :gem => [:build] do
  shell('gem install pkg/*')
end

task :permissions => [ :clean ] do
  shell("chmod -v o+r,g+r * */* */*/* */*/*/* */*/*/*/* */*/*/*/*/*")
  shell("find . -type d -exec chmod o+x,g+x {} \\;")
end

task :build => :permissions

RSpec::Core::RakeTask.new(:spec)

task :default => :spec





Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
githuh-0.1.0 Rakefile