Skip to content

Commit 630c43f

Browse files
committed
Fix build
1 parent 6303636 commit 630c43f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Rakefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,11 @@ task :steep_check => ["src/ruby/app/models/buffer.rb", "src/ruby/sig/buffer.rbs"
7777
end
7878
end
7979

80-
desc "you have to run this task once before build"
8180
task :setup do
81+
sh "git submodule update"
82+
FileUtils.cd "lib/picoruby" do
83+
sh "rake"
84+
end
8285
FileUtils.cd "src/ruby" do
8386
sh "bundle install"
8487
end
@@ -101,8 +104,8 @@ task :check_setup do
101104
FileUtils.cd "src/ruby" do
102105
sh "bundle exec steep -h > /dev/null 2>&1", verbose: false
103106
sh "bundle exec mrubyc-test -h > /dev/null 2>&1", verbose: false
107+
sh "ls test/tmp/hal/ > /dev/null 2>&1", verbose: false
104108
end
105-
sh "ls src/ruby/test/tmp/hal/ > /dev/null 2>&1", verbose: false
106109
rescue => e
107110
if 0 == count
108111
count += 1

0 commit comments

Comments
 (0)