ace/project_generator/postprocess.rb
Jakub Šťastný aka Botanicus 4cc4e303ab Initial import
2010-10-20 14:42:17 +01:00

10 lines
286 B
Ruby

# 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