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