lib/makit/directory.rb in makit-0.0.24 vs lib/makit/directory.rb in makit-0.0.25

- old
+ new

@@ -163,7 +163,15 @@ end def self.copy(src_dir, dst_dir) FileUtils.cp_r(src_dir, dst_dir) end + + def self.generate_manifest(dir) + File.open("#{dir}/manifest.txt", "w") do |f| + Dir.glob("#{dir}/**/*").each do |file| + f.puts file.sub("#{dir}/", "") + end + end + end end end