This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
function run () {
|
||||
echo "+ ruby ./examples/$@"
|
||||
ruby -e "puts '=' * 79"
|
||||
ruby ./examples/$@
|
||||
ruby -e "puts '=' * 79"
|
||||
}
|
||||
|
||||
run logging.rb
|
||||
run logging.rb -v
|
||||
run help_dialogue.rb -h
|
||||
run help_dialogue.rb some_subcommand -h
|
||||
run help_dialogue.rb another_subcommand -h
|
||||
run help_dialogue.rb some_subcommand yet_another_sub -h
|
||||
run help_dialogue.rb some_subcommand yet_another_sub -b
|
||||
Reference in New Issue
Block a user