Sha256: b7ca8d6ec3b953a65b727c0fa473dd6954191830db0f5a157abe1f4960de07c4

Contents?: true

Size: 818 Bytes

Versions: 9

Compression:

Stored size: 818 Bytes

Contents

#!/usr/bin/env rake

$LOAD_PATH.unshift File.expand_path("lib", File.dirname(__FILE__))

require "rspec/core/rake_task"
require "osx_provision/version"
require "gemspec_deps_gen/gemspec_deps_gen"

version = OsxProvision::VERSION
project_name = File.basename(Dir.pwd)

task :gen do
  generator = GemspecDepsGen.new

  generator.generate_dependencies "spec", "#{project_name}.gemspec.erb", "#{project_name}.gemspec"
end

task :build => :gen do
  system "gem build #{project_name}.gemspec"
end

task :install do
  system "gem install #{project_name}-#{version}.gem"
end

task :uninstall do
  system "gem uninstall #{project_name}"
end

task :release => :build do
  system "gem push #{project_name}-#{version}.gem"
end

RSpec::Core::RakeTask.new do |task|
  task.pattern = 'spec/**/*_spec.rb'
  task.verbose = false
end


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
osx_provision-0.9.9 Rakefile
osx_provision-0.9.8 Rakefile
osx_provision-0.9.7 Rakefile
osx_provision-0.9.6 Rakefile
osx_provision-0.9.5 Rakefile
osx_provision-0.9.4 Rakefile
osx_provision-0.9.3 Rakefile
osx_provision-0.9.2 Rakefile
osx_provision-0.9.1 Rakefile