1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

Rake task to view versions

This commit is contained in:
Logan Lowell 2011-07-07 14:58:34 -05:00
parent f939d77e40
commit 16468e83c2

View file

@ -66,6 +66,13 @@ task :clean do |t, options|
end
end
desc "List all versions of V8"
task :list do
Dir.chdir(File.join('lib', 'libv8', 'v8')) do
puts `git tag`.split.map{|v| Gem::Version.new(v)}.sort
end
end
desc "Create a binary gem for this current platform"
task :binary, [:version] => [:compile] do |t, options|
gemspec = eval(File.read('libv8.gemspec'))