Class: Opal::BuilderScheduler::Sequential

Inherits:
Opal::BuilderScheduler show all
Defined in:
opal/lib/opal/builder_scheduler/sequential.rb

Instance Attribute Summary

Attributes inherited from Opal::BuilderScheduler

#builder

Instance Method Summary collapse

Methods inherited from Opal::BuilderScheduler

#initialize

Constructor Details

This class inherits a constructor from Opal::BuilderScheduler

Instance Method Details

#process_requires(rel_path, requires, autoloads, options) ⇒ Object



6
7
8
9
10
# File 'opal/lib/opal/builder_scheduler/sequential.rb', line 6

def process_requires(rel_path, requires, autoloads, options)
  requires.map { |r| builder.process_require(r, autoloads, options) }
rescue Builder::MissingRequire => error
  raise error, "A file required by #{rel_path.inspect} wasn't found.\n#{error.message}", error.backtrace
end