lib/bolt.rb in benofsky-bolt-0.1.5 vs lib/bolt.rb in benofsky-bolt-0.1.6
- old
+ new
@@ -38,19 +38,19 @@
# Creates a new build object and runs it resulting in building
# a bolt project and saving all files into the "out" directory.
def build
require 'bolt/build'
- Build.new($config).run
+ Build.new().run
end
# Parses command line options
def parse_options
$config.resources = "resources"
$config.lib = "lib"
$config.views = "views"
- $config.pages = "pages"
$config.out = "out"
+ $config.pages = "pages"
$config.config = "config.yml"
opts = OptionParser.new do |opts|
opts.banner = "Usage: bolt {create/build} [options] [file]"
\ No newline at end of file