Sha256: 548ce0827f955dad6c4cbfc91a6208f2fc92beb4d4af90d11d3f5e03d9d4df7b

Contents?: true

Size: 273 Bytes

Versions: 12

Compression:

Stored size: 273 Bytes

Contents

# encoding: utf-8

desc "Install Git hooks"
task :hooks do
  if Dir.exist?(".git/hooks")
    abort "You must remove .git/hooks first"
  else
    # do not symlink them, otherwise git will add samples
    # FIXME: permissions
    cp_r "support/hooks", ".git/hooks"
  end
end

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
simple-templater-0.0.1.4 tasks/hooks.rake
media-path-0.1.2 tasks/hooks.rake
media-path-0.2.pre tasks/hooks.rake
simple-templater-0.0.1.3 tasks/hooks.rake
pupu-0.0.2.pre tasks/hooks.rake
media-path-0.1.1.pre tasks/hooks.rake
rubyexts-0.3.pre tasks/hooks.rake
simple-templater-0.2.pre tasks/hooks.rake
simple-templater-0.0.1.2 tasks/hooks.rake
rubyexts-0.1.pre tasks/hooks.rake
simple-templater-0.1.pre tasks/hooks.rake
pupu-0.1.pre tasks/hooks.rake