Skip to content
This repository was archived by the owner on Mar 24, 2018. It is now read-only.

Conversation

RJPercival
Copy link

Adds "rake/generate_task" which can be used in a Rakefile as follows:

Protobuf::GenerateTask.new("proto/*.proto") do |ruby_protobuf|
  spec.files << ruby_protobuf
end

This adds a "protobuf" task, which can be used by executing "rake protobuf". If used as above, it will also run automatically whenever a packaging task occurs, e.g. "package", "build" or "gem". It can also manually be added as a dependency of any other tasks, e.g. "test".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant