Sha256: 5bc3b2e5ee2f507e0a442f969c91399875b3ec74ef7eb7dd7217cc6f465318a7

Contents?: true

Size: 558 Bytes

Versions: 27

Compression:

Stored size: 558 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 = "protoc --ruby_out=spec/support/protobuf --proto_path=spec/support/definitions spec/support/definitions/*.proto"
  sh(cmd)
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
active_remote-3.1.3 Rakefile
active_remote-3.1.2 Rakefile
active_remote-3.1.2.pre Rakefile
active_remote-3.1.1 Rakefile
active_remote-3.1.0 Rakefile
active_remote-3.0.0 Rakefile
active_remote-3.0.0.pre1 Rakefile
active_remote-2.4.0 Rakefile
active_remote-2.3.5 Rakefile
active_remote-2.3.4 Rakefile
active_remote-2.3.3 Rakefile
active_remote-2.3.3.pre Rakefile
active_remote-2.3.2 Rakefile
active_remote-2.3.1 Rakefile
active_remote-2.3.0 Rakefile
active_remote-2.2.0 Rakefile
active_remote-2.1.1 Rakefile
active_remote-2.1.0 Rakefile
active_remote-2.1.0.rc2 Rakefile
active_remote-2.1.0.rc1 Rakefile