Sha256: 3020347cb24233001f8dcd1f27b517d6ebf61e1ac1d8c2c309e9d33886836169
Contents?: true
Size: 422 Bytes
Versions: 8
Compression:
Stored size: 422 Bytes
Contents
# 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. require "simple-templater/hooks/postprocess/git_repository" unless RUBY_PLATFORM.match(/mswin|mingw/) sh "chmod +x init.rb" sh "chmod +x config.ru" end hook do |generator, context| generator.after(Hooks::GitRepository) end
Version data entries
8 entries across 8 versions & 1 rubygems