Sha256: e0edcdf3a685788b50736b6f2c32b95eb44837d31fa6075ae4bcbb24b2015767

Contents?: true

Size: 561 Bytes

Versions: 23

Compression:

Stored size: 561 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'rspec/core/rake_task'

desc "Run specs"
RSpec::Core::RakeTask.new(:spec)

desc "Run specs (default)"
task :default, [] => :spec

desc "Remove protobuf definitions that have been compiled"
task :clean do 
  FileUtils.rm(Dir.glob("spec/support/protobuf/**/*.proto"))
  puts "Cleaned"
end

desc "Compile spec/support protobuf definitions"
task :compile, [] => :clean do 
  cmd = "rprotoc --ruby_out=spec/support/protobuf --proto_path=spec/support/definitions spec/support/definitions/*.proto"
  sh(cmd)
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
active_remote-1.8.1 Rakefile
active_remote-1.8.0 Rakefile
active_remote-1.8.0.rc1 Rakefile
active_remote-1.7.1 Rakefile
active_remote-1.7.0 Rakefile
active_remote-1.6.1 Rakefile
active_remote-1.6.0 Rakefile
active_remote-1.5.9 Rakefile
active_remote-1.5.8 Rakefile
active_remote-1.5.7 Rakefile
active_remote-1.5.6 Rakefile
active_remote-1.5.5 Rakefile
active_remote-1.5.4 Rakefile
active_remote-1.5.2 Rakefile
active_remote-1.5.1 Rakefile
active_remote-1.5.0 Rakefile
active_remote-1.4.1 Rakefile
active_remote-1.4.0 Rakefile
active_remote-1.3.3 Rakefile
active_remote-1.3.2 Rakefile