lib/bolt/build.rb in benofsky-bolt-0.1.7 vs lib/bolt/build.rb in benofsky-bolt-0.1.8

- old
+ new

@@ -12,19 +12,10 @@ require 'bolt/base' require 'bolt/page' require 'bolt/view' module Bolt - class Build < Base - # Performs all the nessecary steps to build a Bolt project - def initialize() - if $config.out - puts $config.out - else - $config.out = d("out") - end - end - + class Build < Base def run remove_directory($config.out) create_directory($config.out, :error_if_exists => false) copy_resources parse_config \ No newline at end of file