Sha256: 4c76a1584f750c4ff0fef7e6f34571f5783491818f600f1f143cc36c3f748031
Contents?: true
Size: 497 Bytes
Versions: 2
Compression:
Stored size: 497 Bytes
Contents
#!/usr/bin/ruby # original: http://d.hatena.ne.jp/bellbind/20070605/1180979599 base_dir = File.join(File.dirname(__FILE__), "..") glob_pattern = File.join("**", "*") exclude_patterns = [ /^pkg/,/^doc/, ] Dir.chdir(base_dir) files = Dir.glob(glob_pattern).delete_if do |fname| File.directory?(fname) or exclude_patterns.find do |pattern| pattern =~ fname end end manifest = File.new("Manifest.txt", "w") manifest.puts files.sort.join("\n") manifest.close puts "Manifest.txt updated"
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
gonzui-1.2 | script/makemanifest.rb |
langscan-1.2 | script/makemanifest.rb |