Files
teletypegames/.githooks/pre-commit
T
mr.zero a58e91520e
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/push/warp_engine Pipeline was successful
advanced pipeline
2026-08-25 23:50:11 +02:00

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")