Sha256: 9d9a952455336118a0990fbe3d6c51a1cd3a152b77d0d86427476e7a73ebce27
Contents?: true
Size: 681 Bytes
Versions: 5
Compression:
Stored size: 681 Bytes
Contents
#!/usr/bin/env ruby $:.unshift File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib])) require 'eye' # Local version of eye # which looking for Eyefile # like foreman while true if ARGV[0] == '--eyefile' ARGV.shift ENV['EYE_FILE'] = File.expand_path(ARGV.shift.to_s) elsif ARGV[0] == '--eyehome' ARGV.shift ENV['EYE_HOME'] = File.expand_path(ARGV.shift.to_s) else break end end unless Eye::Local.eyefile puts "\033[31mNot found Eyefile (in #{File.expand_path('.')})\033[0m" exit 1 end unless ENV.key?('EYE_HOME') Eye::Local.dir = File.join(File.dirname(Eye::Local.eyefile), '.eye') end Eye::Local.local_runner = true Eye::Cli.start
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
eye-0.8.pre2 | bin/leye |
eye-0.8.pre | bin/leye |
eye-0.7 | bin/leye |
eye-0.7.pre | bin/leye |
eye-0.6.4 | bin/leye |