Initial import

This commit is contained in:
Jakub Šťastný aka Botanicus 2010-10-20 14:42:17 +01:00
commit 4cc4e303ab
44 changed files with 691 additions and 0 deletions

View file

@ -0,0 +1,3 @@
---
:full: yes
:flat: no

View file

@ -0,0 +1,9 @@
# encoding: utf-8
# This hook will be executed after templater finish in context of current generator object.
# Current directory is what you just generated, unless this is flat generator.
unless RUBY_PLATFORM.match(/mswin|mingw/)
sh "chmod +x boot.rb"
sh "chmod +x tasks.rb"
end

View file

@ -0,0 +1,9 @@
# encoding: utf-8
# This hook will be executed in context of current generator object before templater start to generate new files.
# You can update context hash and register hooks. Don't forget to use merge! instead of merge, because you are
# manipulating with one object, rather than returning new one.
hook do |generator, context|
# TODO
end