Sha256: 3157b0ffd008a2c32f497dc0ea1c0ddb3e58ed1cffd49288953e97a669e0f0fe

Contents?: true

Size: 858 Bytes

Versions: 6

Compression:

Stored size: 858 Bytes

Contents

# frozen_string_literal: true

begin
  require "bundler/setup"
rescue LoadError
  puts "You must `gem install bundler` and `bundle install` to run rake tasks"
end

require "bundler/gem_tasks"
require "rake/extensiontask"

begin
  require "rspec/core/rake_task"
  RSpec::Core::RakeTask.new(:spec)
rescue LoadError
end

APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
load "rails/tasks/engine.rake"

load "rails/tasks/statistics.rake"

task(compile: []) do
  Dir.chdir("ext/enterprise_script_service") do
    sh("../../bin/rake")
  end
end

Rake::Task[:clean].enhance do
  sh("script/mkmruby", "clean")
end

Rake::Task[:clobber].enhance do
  sh("script/mkmruby", "clobber")
end

task(mrproper: []) do
  Dir.chdir("ext/enterprise_script_service") do
    sh("../../bin/rake", "mrproper")
  end
end

task(spec: [:compile])

task(default: [:spec])

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
script_core-0.2.1 Rakefile
script_core-0.2.0 Rakefile
script_core-0.1.1 Rakefile
script_core-0.1.0 Rakefile
script_core-0.0.6 Rakefile
script_core-0.0.5 Rakefile