Class FPM::Source
In: lib/fpm/source.rb
lib/fpm/source.rb
Parent: Object

Abstract class for a "thing to build a package from"

Methods

Classes and Modules

Class FPM::Source::Dir
Class FPM::Source::Gem
Class FPM::Source::Npm
Class FPM::Source::Python
Class FPM::Source::RPM
Class FPM::Source::Tar

Attributes

paths  [R] 
paths  [R] 
root  [RW] 
root  [RW] 

Public Class methods

Public Instance methods

this method should take the paths and root and infer as much about the package as it can.

this method should take the paths and root and infer as much about the package as it can.

This method should be overridden by package sources that need to do any kind of fetching.

This method should be overridden by package sources that need to do any kind of fetching.

MySourceClass.new(’/tmp/build’).package(FPM::Deb).assemble(params)

MySourceClass.new(’/tmp/build’).package(FPM::Deb).assemble(params)

[Validate]