11 lines
254 B
Ruby
Executable File
11 lines
254 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
require "rbconfig"
|
|
|
|
root = IO.popen([ "git", "rev-parse", "--show-toplevel" ], &:read).strip
|
|
check = File.join(root, "script", "warp_engine_version_check.rb")
|
|
|
|
exit 0 unless File.exist?(check)
|
|
|
|
exec(RbConfig.ruby, check, "--staged")
|