Sha256: 030f1799196875a052942b42146f18c00cf16497d2ffdc0bb99f006fb8a5dad3
Contents?: true
Size: 652 Bytes
Versions: 5
Compression:
Stored size: 652 Bytes
Contents
#!/usr/bin/env ruby1.9 def caller_file(level=0) if caller[level] File.expand_path(caller[level].split(":").first) else nil end end private :caller_file $start = Time.now $display = true $cl = true # this lets us know we're a command line app $amp_executable = File.expand_path(__FILE__) ARGV.each { |arg| $USE_RUBY = true if arg == "--pure-ruby" || arg == '-u' } def follow_link(file) file = File.expand_path(file) while File.symlink?(file) file = File.expand_path(File.readlink(file), File.dirname(file)) end file end require File.join(File.dirname(follow_link(__FILE__)), "..", "lib", "amp") Amp::Dispatch.run
Version data entries
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
amp-0.5.3 | bin/amp1.9 |
amp-0.5.2 | bin/amp1.9 |
amp-0.5.1 | bin/amp1.9 |
amp-pure-0.5.0 | bin/amp1.9 |
amp-0.5.0 | bin/amp1.9 |