Skip to content

Commit ca8bc24

Browse files
committed
fix runfile run/system calls
1 parent f3f5d2a commit ca8bc24

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Runfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RunfileTasks::Testing.rspec
1414

1515
help "Run interactive console"
1616
action :console, :c do
17-
run "bundle exec bin/console"
17+
exec "bundle exec bin/console"
1818
end
1919

2020
help "Run shellcheck on all examples"
@@ -29,9 +29,9 @@ end
2929

3030
help "Generate changelog and append old changelog"
3131
action :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"
3535
end
3636

3737
help "Append the content of bashly.yml to all example READMEs"
@@ -48,9 +48,9 @@ command :docker
4848

4949
help "Build the docker images"
5050
action :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"
5454
end
5555

5656
help "Smoke test the docker image"
@@ -66,8 +66,8 @@ end
6666

6767
help "Push the docker images to Docker Hub"
6868
action :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}"
7171
end
7272

7373
endcommand

0 commit comments

Comments
 (0)