Sha256: ef7519905115df7e8d3376dcbd121b17f68c532330163dc249a9401eaefdcdc2

Contents?: true

Size: 551 Bytes

Versions: 5

Compression:

Stored size: 551 Bytes

Contents

# frozen_string_literal: true

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

5 entries across 5 versions & 2 rubygems

Version Path
githuh-0.3.0 Rakefile
mc-settings-0.2.0 Rakefile
githuh-0.2.1 Rakefile
githuh-0.2.0 Rakefile
githuh-0.1.2 Rakefile