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:
parent
f939d77e40
commit
16468e83c2
1 changed files with 7 additions and 0 deletions
7
Rakefile
7
Rakefile
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue