Artifact [aff0b63a1f]
Artifact aff0b63a1f95e9e2baec6a3799206872779bf2ee:
- File lib/fpm/dir.rb — part of check-in [809801cadf] at 2011-01-06 02:21:23 on branch trunk — meet FPM::Dir, the simplest source of all. (user: jjmadkisson@gmail.com size: 257) [more...]
- File lib/fpm/source/dir.rb — part of check-in [ea982c537e] at 2011-01-06 06:31:16 on branch trunk — - Move files (user: jls@semicomplete.com size: 257)
class FPM::Dir < FPM::Source def get_metadata self[:name] = File.basename(File.expand_path(root)) end def make_tarball!(tar_path) tar(tar_path, paths) # TODO(sissel): Make a helper method. system(*["gzip", "-f", tar_path]) end end