We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac7b053 + fa12fbd commit 905aa5bCopy full SHA for 905aa5b
Runfile
@@ -32,6 +32,20 @@ action :shellcheck do
32
end
33
34
35
+help "Run shfmt checks on all examples"
36
+action :shfmt do
37
+ Example.executables.each do |example|
38
+ if File.exist? example
39
+ success = system "shfmt -d -i 2 -ci #{example}"
40
+ color = success ? 'txtgrn' : 'txtred'
41
+ say "- shfmt !#{color}!#{example}"
42
+ exit 1 unless success
43
+ else
44
+ say "- skip !txtcyn!#{example}"
45
+ end
46
47
+end
48
+
49
help "Generate changelog and append old changelog"
50
action :changelog do
51
system "git changelog --save"
0 commit comments