Sha256: dac0c2d490ba5b902fb0bc8ecebec9f7a2f58fb2531227a81e36caa2b0113d8d

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 Bytes

Contents

Capistrano.configuration(:must_exist).load do
  
  desc "remove and ignore log files and tmp from subversion"
  task :svn_remove_log_and_tmp do
    puts "removing log directory contents from svn"
    system "svn remove log/*"
    puts "ignoring log directory"
    system "svn propset svn:ignore '*.log' log/"
    system "svn update log/"
    puts "removing tmp directory from svn"
    system "svn remove tmp/"
    puts "ignoring tmp directory"
    system "svn propset svn:ignore '*' tmp/"
    system "svn update tmp/"
    puts "committing changes"
    system "svn commit -m 'Removed and ignored log files and tmp'"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
deprec-1.1.0 lib/deprec/recipes/svn.rb