@@ -14,7 +14,7 @@ RunfileTasks::Testing.rspec
14
14
15
15
help "Run interactive console"
16
16
action :console, :c do
17
- run "bundle exec bin/console"
17
+ exec "bundle exec bin/console"
18
18
end
19
19
20
20
help "Run shellcheck on all examples"
29
29
30
30
help "Generate changelog and append old changelog"
31
31
action :changelog do
32
- run "git changelog --save"
32
+ system "git changelog --save"
33
33
# 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"
35
35
end
36
36
37
37
help "Append the content of bashly.yml to all example READMEs"
@@ -48,9 +48,9 @@ command :docker
48
48
49
49
help "Build the docker images"
50
50
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"
54
54
end
55
55
56
56
help "Smoke test the docker image"
66
66
67
67
help "Push the docker images to Docker Hub"
68
68
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}"
71
71
end
72
72
73
73
endcommand
0 commit comments