Sha256: f38552b7f3682a4e8bc19d9a57b46258cc2cc6f844bfce009096b4585ba6d133

Contents?: true

Size: 534 Bytes

Versions: 2

Compression:

Stored size: 534 Bytes

Contents

#!/usr/bin/env ruby
module AlfLauncher

  def self.lib
    File.expand_path('../../lib', __FILE__)
  end
  
  def self.load
    begin
      $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) 
      require "alf"
    rescue LoadError => ex
      require "rubygems"
      require "alf"
    end
  end
  
  def self.start(argv)
    load
    if ENV["ALF_OPTS"]
      argv = Quickl.parse_commandline_args(ENV["ALF_OPTS"]) + argv
    end
    Alf::Command::Main.run(argv, __FILE__)
  end

end # module AlfLaucher
AlfLauncher.start(ARGV)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alf-0.10.1 bin/alf
alf-0.10.0 bin/alf