diff options
author | mms <git@sapka.me> | 2025-01-06 22:17:43 +0100 |
---|---|---|
committer | mms <git@sapka.me> | 2025-01-06 22:17:43 +0100 |
commit | b50e4a5f40bc64fa1893d249d83c05ecd217de1d (patch) | |
tree | d98b5c3a378975d095aa3dad8d1a642c3cf0f3d2 /new/splash/bin/build.rb | |
parent | bfd8209ad0d80b5027bea8a1a095dadc8bffdc61 (diff) |
feat(new): rss + batch
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 |