Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hasumikin committed Nov 23, 2022
1 parent 6303636 commit 630c43f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 630c43f

Please sign in to comment.