ace/project_generator/postprocess.rb

10 lines
286 B
Ruby
Raw Normal View History

2010-10-20 15:42:17 +02:00
# 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