diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-01-20 20:21:37 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-01-23 19:05:40 +0300 |
commit | 7d17c4097fbc32ebab955f3361da522e8818177e (patch) | |
tree | 7b38d5376ddc95ffc7c0f352b97627f22e873c25 /_support/run.rb | |
parent | 22fa1e1c84d2a446da47a64d8ce155ebd744e5e0 (diff) |
Add foundation for using gRPC and Protobuf
Diffstat (limited to '_support/run.rb')
-rw-r--r-- | _support/run.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/_support/run.rb b/_support/run.rb new file mode 100644 index 000000000..8d6ea482e --- /dev/null +++ b/_support/run.rb @@ -0,0 +1,7 @@ +def run!(cmd, chdir='.') + print_cmd = cmd.join(' ') + puts "-> #{print_cmd}" + if !system(*cmd, chdir: chdir) + abort "command failed: #{print_cmd}" + end +end |