Sha256: 1e460e2fee3076b03abd1886be8e379a2c3931f3f238ad020425b193d7a8e3ed

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

desc "Package gem"
Rake::GemPackageTask.new(Require.instance) do |pkg|
  pkg.gem_spec = Require.instance
end

desc "Install gem"
task :install do
  Rake::Task['gem'].invoke
  `sudo gem uninstall #{Require.name} -x`
  `sudo gem install pkg/#{Require.name}*.gem`
  `rm -Rf pkg`
end

desc "Run specs"
Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ["--format", "specdoc", "--colour"]
  t.spec_files = Dir["#{Require.root}/spec/**/*_spec.rb"]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
require-0.1.5 lib/require/tasks.rb