Sha256: bc4dcd721d7b38cb499da70bc2732303908827d75c67a22c2b4242a0e0f25f20
Contents?: true
Size: 518 Bytes
Versions: 2
Compression:
Stored size: 518 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 |
---|---|
langscan-1.2-x86-mswin32-60 | script/makemanifest.rb |
gonzui-1.2-x86-mswin32-60 | script/makemanifest.rb |