public
Description: A Ruby-based parsing DSL based on parsing expression grammars.
Homepage: http://treetop.rubyforge.org
Clone URL: git://github.com/nathansobo/treetop.git
treetop / script / svnrm
100755 11 lines (9 sloc) 0.186 kb
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env ruby -w
 
def missing_files
  `svn status`.
    select { |line| line =~ /^\!/ }.
    collect { |line| line[7..-1] }
end
 
missing_files.each do |file|
  `svn rm #{file}`
end