A Gemfile is added for each new generated site (wip)

did committed Jan 14, 2013
commit ae76c2eab76c207af7a0948e2a436d4ac9bcf84e
Showing 4 changed files with 37 additions and 3 deletions
TODO +2 -2
@@ @@ -27,7 +27,7 @@ x content types / liquid
x twitter bootstrap + HAML
? localized
? boilerplate
- - copy Bundler / Gemfile
+ - copy Bundler / Gemfile (pending)
- content types
x definitions
- data (Faker)
@@ @@ -43,7 +43,7 @@ x content types / liquid
- refactoring:
x generators/sites -> generators/site
x list is only for site generators
- - move the call to the CC generator directly in the builder.rb file
+ x move the call to the CC generator directly in the builder.rb file
*** FEATURES ***
generators/blank/Gemfile +17 -0
@@ @@ -0,0 +1,17 @@
+ # gem 'locomotive_builder', require: true
+
+ # DEV
+ gem 'locomotivecms_mounter', path: '/Users/didier/Documents/LocomotiveCMS/gems/mounter'
+ gem 'locomotivecms_builder', require: true, path: '/Users/didier/Documents/LocomotiveCMS/builder'
+
+ # Mac OS X
+ gem 'rb-fsevent', '~> 0.9.1'
+
+ # Linux
+ # TODO
+
+ # Windows
+ # TODO
+
+ # add your other gems here
+
generators/bootstrap/Gemfile +17 -0
@@ @@ -0,0 +1,17 @@
+ # gem 'locomotive_builder', require: true
+
+ # DEV
+ gem 'locomotivecms_mounter', path: '/Users/didier/Documents/LocomotiveCMS/gems/mounter'
+ gem 'locomotivecms_builder', require: true, path: '/Users/didier/Documents/LocomotiveCMS/builder'
+
+ # Mac OS X
+ gem 'rb-fsevent', '~> 0.9.1'
+
+ # Linux
+ # TODO
+
+ # Windows
+ # TODO
+
+ # add your other gems here
+
generators/content_type/data/%name%.yml.tt +1 -1
@@ @@ -1,6 +1,6 @@
<% 4.times do |i| -%>
- "Sample <%= i + 1 %>":
<% config[:fields][1..-1].each do |field| -%>
- - <%= field.name -%>: <some value from Faker>
+ <%= field.name -%>: <some value from Faker>
<% end -%>
<% end -%>
\ No newline at end of file