This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
echo "Time to get set up."
|
||||
bundle install
|
||||
echo "Boom."
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
bundle exec rspec
|
||||
script/fmt
|
||||
script/examples
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#! /bin/bash
|
||||
|
||||
irb -r./lib/mercenary.rb
|
||||
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
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Rubocop $(bundle exec rubocop --version)"
|
||||
bundle exec rubocop -S -D -E $@
|
||||
Reference in New Issue
Block a user