Cross package maker. DEB/RPM generation or conversion. Derived from jordansissel/fpm.

⌈⌋ ⎇ branch:  cross package maker


Check-in [413326f3bd]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:- remove old flags helper, won't need it soon.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 413326f3bda18e5605436c53ef28b8fe16252825
User & Date: jls@semicomplete.com 2012-03-02 09:11:15
Context
2012-03-02
09:20
- style and docs check-in: 8e40379d3b user: jls@semicomplete.com tags: trunk
09:11
- remove old flags helper, won't need it soon. check-in: 413326f3bd user: jls@semicomplete.com tags: trunk
07:35
remove old requires check-in: bfa9ac2717 user: jls@semicomplete.com tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Deleted lib/fpm/flags.rb.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require "fpm/namespace"

class FPM::Flags
  def initialize(opts, flag_prefix, help_prefix)
    @opts = opts
    @flag_prefix = flag_prefix
    @help_prefix = help_prefix
  end # def initialize

  def on(*args, &block)
    fixed_args = args.collect do |arg|
      if arg =~ /^--/
        "--#{@flag_prefix}-#{arg.gsub(/^--/, "")}"
      else
        "(#{@help_prefix}) #{arg}"
      end
    end
    @opts.on(*fixed_args, &block)
  end # def on
end # class FPM::Flags
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<