class Overcommit::Hook::PrePush::CargoTest
Runs `cargo test` before push if Rust files changed
Public Instance Methods
run()
click to toggle source
# File lib/overcommit/hook/pre_push/cargo_test.rb, line 6 def run result = execute(command) return :pass if result.success? [:fail, result.stdout] end