Sha256: a64055b894f95037e3c47492618cb59a6dc99cf551508addd44aebbb4c1ac30d

Contents?: true

Size: 638 Bytes

Versions: 1

Compression:

Stored size: 638 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
require "rubocop/rake_task"

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
task "release:rubygem_push" do
  # Delay loading Chandler until this point, since it requires Ruby >= 2.1,
  # which may not be available in all environments (e.g. Travis).
  # We assume that the person doing `rake release` has Ruby >= 2.1.
  require "chandler/tasks"
  Rake.application.invoke_task("chandler:push")
end

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList["test/**/*_test.rb"]
end

RuboCop::RakeTask.new

task :default => [:test, :rubocop]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chandler-0.1.2 Rakefile