diff options
Diffstat (limited to 'new/splash/bin')
l--------- | new/splash/bin/.#build.rb | 1 | ||||
-rwxr-xr-x | new/splash/bin/build.rb | 6 | ||||
-rwxr-xr-x | new/splash/bin/deploy.rb | 10 |
3 files changed, 16 insertions, 1 deletions
diff --git a/new/splash/bin/.#build.rb b/new/splash/bin/.#build.rb new file mode 120000 index 00000000..0f727030 --- /dev/null +++ b/new/splash/bin/.#build.rb @@ -0,0 +1 @@ +mms@voyager.local.6355:1735980208
\ No newline at end of file diff --git a/new/splash/bin/build.rb b/new/splash/bin/build.rb index 36da3ec6..7f5ac93f 100755 --- a/new/splash/bin/build.rb +++ b/new/splash/bin/build.rb @@ -8,8 +8,10 @@ builder_class = Crys::Splash::Builder batch_builder_class = Crys::Splash::BatchBuilder output_dir = "#{File.dirname(File.dirname(__FILE__))}/output" image_dir = "#{File.dirname(File.dirname(File.expand_path(__FILE__)))}/assets/images" +theme_dir = "#{File.dirname(File.dirname(__FILE__))}/theme" +pages_db = Crys::Splash::PagesDbManager -file_path=@options[:filepath] +file_path = @options[:filepath] Crys::BuilderRunner.new( file_path: file_path, @@ -17,4 +19,6 @@ Crys::BuilderRunner.new( builder_class: builder_class, image_dir: image_dir, batch_builder_class: batch_builder_class, + theme_dir: theme_dir, + pages_db: pages_db ).run diff --git a/new/splash/bin/deploy.rb b/new/splash/bin/deploy.rb new file mode 100755 index 00000000..b7639053 --- /dev/null +++ b/new/splash/bin/deploy.rb @@ -0,0 +1,10 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +require_relative '../lib/splash' +require_relative '../../bin/deployer' + +source = "#{File.dirname(File.dirname(File.expand_path(__FILE__)))}/output/" +dest = 'site-crys-splash' + +Crys::DeployerRunner.new(source: source, dest: dest).run |