Rakefile in active_remote-1.8.1 vs Rakefile in active_remote-2.0.0.rc1
- old
+ new
@@ -7,15 +7,15 @@
desc "Run specs (default)"
task :default, [] => :spec
desc "Remove protobuf definitions that have been compiled"
-task :clean do
+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"
+task :compile, [] => :clean do
+ cmd = "protoc --ruby_out=spec/support/protobuf --proto_path=spec/support/definitions spec/support/definitions/*.proto"
sh(cmd)
end