Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (12 sloc) 346 Bytes
#!/usr/bin/ruby
def add(s)
cmd = "site/script/mlcomp/resource #{ARGV.join(' ')} -add #{s}"
puts cmd
exit 1 unless system("bash", "-c", cmd)
end
# Recursively add everything
add('domains/core')
add('domains/flat')
add('domains/*/utils')
add('domains/*/sample')
#add('domains') # Only do this after all sample datasets have been processed