Sha256: 28306cc96a999372ecd0f0a173e1e625ba77335ad46bae2c8c3522dc71745b37

Contents?: true

Size: 653 Bytes

Versions: 72

Compression:

Stored size: 653 Bytes

Contents

require 'rake'
require 'rubygems/package_task'
require 'rake/testtask'

Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['./test/tc_*.rb']
  t.verbose = false
end

spec = eval(File.read('cpee.gemspec'))
Gem::PackageTask.new(spec) do |pkg|
  pkg.need_zip = true
  pkg.need_tar = true
  `rm pkg/* -rf`
  `ln -sf #{pkg.name}.gem pkg/cpee.gem`
end

task :push => :gem do |r|
  `gem push pkg/cpee.gem`
end

task :install => :gem do |r|
  `gem install pkg/cpee.gem`
end

desc "Clean instances"
task :clean do
  Dir.glob("server/instances/*").collect{ |i| i if i =~ /\/\d+$/ }.compact.each do |i|
    rm_rf i if File.exists?(i)
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
cpee-1.5.6 Rakefile
cpee-1.5.4 Rakefile
cpee-1.5.3 Rakefile
cpee-1.5.2 Rakefile
cpee-1.5.1.1 Rakefile
cpee-1.5.1 Rakefile
cpee-1.5.0 Rakefile
cpee-1.4.32 Rakefile
cpee-1.4.31 Rakefile
cpee-1.4.30 Rakefile
cpee-1.4.29 Rakefile
cpee-1.4.28 Rakefile
cpee-1.4.27 Rakefile
cpee-1.4.26 Rakefile
cpee-1.4.25 Rakefile
cpee-1.4.24 Rakefile
cpee-1.4.23 Rakefile
cpee-1.4.21 Rakefile
cpee-1.4.20 Rakefile
cpee-1.4.18 Rakefile