Skip to content

Commit

Permalink
brutefuzzy-protobuf: Add generated_files back to spec and Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dekellum committed Jan 8, 2012
1 parent ce676c5 commit 7df0840
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions iudex-brutefuzzy-protobuf/Rakefile
Expand Up @@ -5,3 +5,11 @@ require 'bundler/setup'
require 'rjack-tarpit'

RJack::TarPit.new( 'iudex-brutefuzzy-protobuf' ).define_tasks

directory 'src/main/java'

messages_java = 'src/main/java/iudex/brutefuzzy/protobuf/ProtocolBuffers.java'

file messages_java => [ 'proto/brutefuzzy.proto', 'src/main/java' ] do
sh "protoc --java_out=src/main/java proto/brutefuzzy.proto"
end
3 changes: 3 additions & 0 deletions iudex-brutefuzzy-protobuf/iudex-brutefuzzy-protobuf.gemspec
Expand Up @@ -14,4 +14,7 @@ RJack::TarPit.specify do |s|
s.depend 'minitest', '~> 2.3', :dev

s.maven_strategy = :no_assembly

s.generated_files =
[ 'src/main/java/iudex/brutefuzzy/protobuf/ProtocolBuffers.java' ]
end

0 comments on commit 7df0840

Please sign in to comment.