blob: 5134cc51beeb73c5d9381f4e322edd765210499a (
plain) (
tree)
|
|
#!/bin/env perl
use 5.01;
use strict;
use warnings;
use Google::ProtocolBuffers;
my $pbc_definition = "pbc/riakclient.proto";
my $output_file = "lib/Net/Riak/Transport/Message.pm";
say "Compiling Protocol Buffers definition..";
Google::ProtocolBuffers->parsefile(
$pbc_definition, {
generate_code => $output_file,
create_accessors => 1
}
);
say "done.";
exit;
|