polishing...
did
committed Jan 25, 2013
commit e05ff4938f9daced606c58e029caa4971acaa514
Showing 6
changed files with
29 additions
and 28 deletions
generators/blank/Gemfile
+12
-11
| @@ | @@ -1,19 +1,20 @@ |
| source 'https://rubygems.org' | |
| - | # gem 'locomotive_builder', require: true |
| + | # ruby '1.9.3' |
| - | # DEV |
| - | gem 'locomotivecms_mounter', '~> 1.0.0.rc1' |
| gem 'locomotivecms_builder', '~> 1.0.0.rc1' | |
| - | # Mac OS X |
| - | gem 'rb-fsevent', '~> 0.9.1' |
| + | group :development do |
| + | # Mac OS X |
| + | gem 'rb-fsevent', '~> 0.9.1', :require => RUBY_PLATFORM.include?('darwin') && 'rb-fsevent' |
| - | # Linux |
| - | # TODO |
| + | # TODO: Linux |
| - | # Windows |
| - | # TODO |
| - | |
| - | # add your other gems here |
| + | # TODO: Windows |
| + | end |
| + | group :misc do |
| + | # Add your extra gems here |
| + | # gem 'susy', require: 'susy' |
| + | # gem 'redcarpet', require: 'redcarpet' |
| + | end |
| \ No newline at end of file | |
generators/blank/config.ru
+1
-0
| @@ | @@ -1,2 +1,3 @@ |
| require 'locomotive/builder/standalone_server' | |
| + | |
| run Locomotive::Builder::StandaloneServer.new(File.expand_path('.')) | |
| \ No newline at end of file | |
generators/bootstrap/Gemfile
+14
-11
| @@ | @@ -1,17 +1,20 @@ |
| - | # gem 'locomotive_builder', require: true |
| + | source 'https://rubygems.org' |
| - | # DEV |
| - | gem 'locomotivecms_mounter', '~> 1.0.0.rc1' |
| - | gem 'locomotivecms_builder', '~> 1.0.0.rc1' |
| + | # ruby '1.9.3' |
| - | # Mac OS X |
| - | gem 'rb-fsevent', '~> 0.9.1' |
| + | gem 'locomotivecms_builder', '~> 1.0.0.rc1' |
| - | # Linux |
| - | # TODO |
| + | group :development do |
| + | # Mac OS X |
| + | gem 'rb-fsevent', '~> 0.9.1', :require => RUBY_PLATFORM.include?('darwin') && 'rb-fsevent' |
| - | # Windows |
| - | # TODO |
| + | # TODO: Linux |
| - | # add your other gems here |
| + | # TODO: Windows |
| + | end |
| + | group :misc do |
| + | # Add your extra gems here |
| + | # gem 'susy', require: 'susy' |
| + | # gem 'redcarpet', require: 'redcarpet' |
| + | end |
| \ No newline at end of file | |
generators/bootstrap/config.ru
+1
-0
| @@ | @@ -1,2 +1,3 @@ |
| require 'locomotive/builder/standalone_server' | |
| + | |
| run Locomotive::Builder::StandaloneServer.new(File.expand_path('.')) | |
| \ No newline at end of file | |
locomotive/builder.rb b/lib/locomotive/builder.rb
+0
-5
| @@ | @@ -77,7 +77,6 @@ module Locomotive |
| # @param [ Hash ] options The options passed to the pull process | |
| # | |
| def self.pull(path, connection_info, options = {}) | |
| - | puts "loading locomotive mounter" |
| self.require_mounter(path) | |
| Bundler.require 'misc' | |
| @@ | @@ -87,13 +86,9 @@ module Locomotive |
| _options = { console: true }.merge(options) | |
| _options[:only] = _options.delete(:resources) | |
| - | puts "=============" |
| - | |
| reader = Locomotive::Mounter::Reader::Api.instance | |
| reader.run!(_options.merge(connection_info)) | |
| - | puts "------------" |
| - | |
| # writer = Locomotive::Mounter::Writer::FileSystem.instance | |
| # writer.run!(mounting_point: reader.mounting_point, target_path: path) | |
| rescue Exception => e | |
locomotivecms_builder.gemspec
+1
-1
| @@ | @@ -10,7 +10,7 @@ Gem::Specification.new do |gem| |
| gem.email = ['did@locomotivecms.com', 'papipo@gmail.com'] | |
| gem.description = %q{The LocomotiveCMS builder is a site generator for the LocomotiveCMS engine} | |
| gem.summary = %q{The LocomotiveCMS builder is a site generator for the LocomotiveCMS engine powered by all the efficient and modern HTML development tools (Haml, SASS, Compass, Less).} | |
| - | gem.homepage = '' |
| + | gem.homepage = 'http://www.locomotivecms.com' |
| gem.files = `git ls-files`.split($/) | |
| gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } | |