@@ -14,7 +14,7 @@ RunfileTasks::Testing.rspec
1414
1515help "Run interactive console"
1616action :console, :c do
17- run "bundle exec bin/console"
17+ exec "bundle exec bin/console"
1818end
1919
2020help "Run shellcheck on all examples"
2929
3030help "Generate changelog and append old changelog"
3131action :changelog do
32- run "git changelog --save"
32+ system "git changelog --save"
3333 # append older changelog (prior to switching to git-changelog)
34- run "cat .changelog.old.md >> CHANGELOG.md"
34+ system "cat .changelog.old.md >> CHANGELOG.md"
3535end
3636
3737help "Append the content of bashly.yml to all example READMEs"
@@ -48,9 +48,9 @@ command :docker
4848
4949help "Build the docker images"
5050action :build, :b do
51- run "docker build -t dannyben/bashly ."
52- run "docker tag dannyben/bashly dannyben/bashly:#{Bashly::VERSION}"
53- run "docker images |grep bashly"
51+ system "docker build -t dannyben/bashly ."
52+ system "docker tag dannyben/bashly dannyben/bashly:#{Bashly::VERSION}"
53+ system "docker images |grep bashly"
5454end
5555
5656help "Smoke test the docker image"
6666
6767help "Push the docker images to Docker Hub"
6868action :push, :p do
69- run "docker push dannyben/bashly"
70- run "docker push dannyben/bashly:#{Bashly::VERSION}"
69+ system "docker push dannyben/bashly"
70+ system "docker push dannyben/bashly:#{Bashly::VERSION}"
7171end
7272
7373endcommand
0 commit comments