forked from mozy/ruby-protocol-buffers
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Rakefile
25 lines (20 loc) · 742 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'rubygems'
require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.name = "ruby-protobuf"
s.version = "0.1.0"
s.author = "Brian Palmer"
s.email = "[email protected]"
s.homepage = "http:https://todo"
s.platform = Gem::Platform::RUBY
s.summary = "Ruby compiler and runtime for the google protocol buffers library. Currently includes a compiler that utilizes protoc, as well as a highly experimental pure-ruby compiler."
s.required_ruby_version = ">=1.8.6"
s.files = FileList["{bin,lib,ext}/**/*"].to_a
s.require_path = 'lib'
s.extensions << 'ext/extconf.rb'
end
Rake::GemPackageTask.new(spec) do |pkg|
end
task :default => "pkg/#{spec.name}-#{spec.version}.gem" do
puts "generated latest version"
end