Sha256: 1f6d0396cfe31e82cbb4cd3e989e9daed34374e8d4ebc7eae05677c1c6d3c396

Contents?: true

Size: 434 Bytes

Versions: 22

Compression:

Stored size: 434 Bytes

Contents

#!/usr/bin/ruby

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

22 entries across 22 versions & 6 rubygems

Version Path
autoreload-1.0.0 work/deprecated/scripts/makemanifest.rb
wparser-0.1.3 script/makemanifest.rb
wparser-0.1.2 script/makemanifest.rb
wparser-0.1.1 script/makemanifest.rb
wparser-0.1.0 script/makemanifest.rb
wparser-0.0.2 script/makemanifest.rb
autoreload-0.0.1 scripts/makemanifest.rb
cutep-0.0.2 scripts/makemanifest.rb
cutep-1.0.0 scripts/makemanifest.rb
cutep-0.0.3 scripts/makemanifest.rb
faultinjection-0.0.1 script/makemanifest.rb
faultinjection-0.0.3 script/makemanifest.rb
faultinjection-0.0.2 script/makemanifest.rb
patternmatching-0.2.5 scripts/makemanifest.rb
patternmatching-0.2.2 scripts/makemanifest.rb
patternmatching-0.2.3 scripts/makemanifest.rb
patternmatching-0.1.4 scripts/makemanifest.rb
patternmatching-0.2.0 scripts/makemanifest.rb
patternmatching-0.2.1 scripts/makemanifest.rb
patternmatching-0.2.4 scripts/makemanifest.rb