also redo the pre-commit hook
This commit is contained in:
parent
bf69d6ee6d
commit
25f9f7e3fb
@ -14,6 +14,7 @@ class PenchantCLI < Thor
|
|||||||
def install
|
def install
|
||||||
directory 'template/script', options[:dir]
|
directory 'template/script', options[:dir]
|
||||||
Dir[File.join(options[:dir], '**/*')].each { |file| File.chmod(0755, file) }
|
Dir[File.join(options[:dir], '**/*')].each { |file| File.chmod(0755, file) }
|
||||||
|
FileUtils.ln_sf File.join(Dir.pwd, 'script/hooks/pre-commit'), '.git/hooks/pre-commit'
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "convert", "Make an existing project Penchant-isized"
|
desc "convert", "Make an existing project Penchant-isized"
|
||||||
|
Loading…
Reference in New Issue
Block a user