diff options
Diffstat (limited to 'new/splash/bin/build.rb')
-rwxr-xr-x | new/splash/bin/build.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/new/splash/bin/build.rb b/new/splash/bin/build.rb index 1439dd6..36da3ec 100755 --- a/new/splash/bin/build.rb +++ b/new/splash/bin/build.rb @@ -5,8 +5,8 @@ require_relative '../lib/splash' require_relative '../../bin/builder' builder_class = Crys::Splash::Builder +batch_builder_class = Crys::Splash::BatchBuilder output_dir = "#{File.dirname(File.dirname(__FILE__))}/output" -#file_path = "#{File.dirname(File.dirname(__FILE__))}/pages/#{@options[:filepath]}" image_dir = "#{File.dirname(File.dirname(File.expand_path(__FILE__)))}/assets/images" file_path=@options[:filepath] @@ -15,5 +15,6 @@ Crys::BuilderRunner.new( file_path: file_path, output_dir: output_dir, builder_class: builder_class, - image_dir: image_dir + image_dir: image_dir, + batch_builder_class: batch_builder_class, ).run |