Sha256: afae12d9e92976b31fb13c736051b4ed57d625fde458901f189cbedcc18ae7e8

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 Bytes

Contents

#!/usr/bin/env ruby
require "optparse"

require "lib/miranda/system/load"
system = RUBY_PLATFORM

if system.include? "darwin"
  platform = "linux"
elsif system.include? "linux"
  platform = "linux"
else
  puts "Miranda supported is only mac and linux platforms !"
end

MirandaLoad::Load.new(platform)

port = 4000

opt = OptionParser.new

opt.on('-p VAL') do |p|
	port = p
end

opt.parse!

puts "Miranda Started !"

require "app.rb"
Miranda::System.run! :port => port

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
miranda-0.0.3 bin/miranda