From 630c43f56a29817a1642e8ab62336d09ef25a34b Mon Sep 17 00:00:00 2001 From: HASUMI Hitoshi Date: Wed, 23 Nov 2022 21:34:14 +0900 Subject: [PATCH] Fix build --- Rakefile | 7 +++++-- lib/picoruby | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 2b127a2c..b536004c 100644 --- a/Rakefile +++ b/Rakefile @@ -77,8 +77,11 @@ task :steep_check => ["src/ruby/app/models/buffer.rb", "src/ruby/sig/buffer.rbs" end end -desc "you have to run this task once before build" task :setup do + sh "git submodule update" + FileUtils.cd "lib/picoruby" do + sh "rake" + end FileUtils.cd "src/ruby" do sh "bundle install" end @@ -101,8 +104,8 @@ task :check_setup do FileUtils.cd "src/ruby" do sh "bundle exec steep -h > /dev/null 2>&1", verbose: false sh "bundle exec mrubyc-test -h > /dev/null 2>&1", verbose: false + sh "ls test/tmp/hal/ > /dev/null 2>&1", verbose: false end - sh "ls src/ruby/test/tmp/hal/ > /dev/null 2>&1", verbose: false rescue => e if 0 == count count += 1 diff --git a/lib/picoruby b/lib/picoruby index 670bf1b4..0d2ee331 160000 --- a/lib/picoruby +++ b/lib/picoruby @@ -1 +1 @@ -Subproject commit 670bf1b4e3bec14ed3e25676228cfb7b37a07898 +Subproject commit 0d2ee331b193193d7a9fb6d755aebdc7b9bf5400