Sha256: 85c5afd7399df583b65a91cf2ea7924aa641dc9adf486a69ad6ed2c5c6852407

Contents?: true

Size: 737 Bytes

Versions: 4

Compression:

Stored size: 737 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

desc "Import new elasticsearch-paramedic version"
task :import do
  [
    "rm -rf public/elasticsearch-paramedic",
    "git clone https://github.com/karmi/elasticsearch-paramedic.git public/elasticsearch-paramedic",
    "cd public/elasticsearch-paramedic && rm -rf .git* elasticsearch-paramedic-screenshot.png MIT-LICENSE Rakefile README.md",
    "git add public/elasticsearch-paramedic && git commit -m 'update elasticsearch-paramedic'"
  ].each do |command|
    puts command
    `#{command}`
  end
end

Rake::TestTask.new do |t|
  t.libs << "lib"
  t.test_files = FileList["test/*_test.rb"]
  t.ruby_opts = ["-r./test/test_helper.rb"]
  t.verbose = true
end

task :default => :test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
elasticsearch-paramedic-rack-0.2.1 Rakefile
elasticsearch-paramedic-rack-0.2.0 Rakefile
elasticsearch-paramedic-rack-0.1.1 Rakefile
elasticsearch-paramedic-rack-0.1.0 Rakefile