Skip to content

Commit ebcfb7c

Browse files
committed
Add rake build_all
1 parent 9904a0d commit ebcfb7c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Rakefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ namespace :ruby do
2626
sh "rbs validate"
2727
sh "steep check"
2828
end
29+
30+
desc "Run all build tasks in ruby"
31+
task build_all: %i[build_example rbs]
2932
end
3033

3134
# @return [Hash<String, String>]
@@ -84,6 +87,9 @@ namespace :go do
8487
end
8588
sh env_vars, "golangci-lint run"
8689
end
90+
91+
desc "Run all build tasks in go"
92+
task build_all: %i[test fmt lint]
8793
end
8894

8995
namespace :patch_for_go_gem do
@@ -121,4 +127,6 @@ task release: :tag do
121127
sh "git push origin main"
122128
end
123129

124-
task default: "ruby:build_example"
130+
task build_all: %w[ruby:build_all go:build_all rubocop ruby_h_to_go:test patch_for_go_gem:test]
131+
132+
task default: :build_all

0 commit comments

Comments
 (0)