Skip to content

Commit 1c0c9c5

Browse files
committed
Rename to rake ruby:example:build
1 parent 40fe9a0 commit 1c0c9c5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Rakefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ require "rubocop/rake_task"
55
RuboCop::RakeTask.new
66

77
namespace :ruby do
8-
desc "Build ruby/testdata/example/"
9-
task :build_example do
10-
Dir.chdir(File.join(__dir__, "ruby", "testdata", "example")) do
11-
sh "bundle exec rake all"
8+
namespace :example do
9+
desc "Build ruby/testdata/example/"
10+
task :build do
11+
Dir.chdir(File.join(__dir__, "ruby", "testdata", "example")) do
12+
sh "bundle exec rake all"
13+
end
1214
end
1315
end
1416

@@ -28,7 +30,7 @@ namespace :ruby do
2830
end
2931

3032
desc "Run all build tasks in ruby"
31-
task build_all: %i[build_example rbs]
33+
task build_all: %w[example:build rbs]
3234
end
3335

3436
# @return [Hash<String, String>]

0 commit comments

Comments
 (0)