Sha256: e32cdbe4f78f8d023de65bfd7594eedbd040f3b8fbcb093cbccdc59dd2ccc946

Contents?: true

Size: 379 Bytes

Versions: 8

Compression:

Stored size: 379 Bytes

Contents

#!/usr/local/bin/ruby

@app = ARGV[0]
if @app.nil?
  @app = "server"
end

ARGV.shift # get rid of the app name, cause we don't need it.
@app = @app.strip.downcase

case @app
when "start"
  @app = "server"
else
end

require File.join(File.dirname(__FILE__), "env_handler")

cmd = "mackery-#{@app} #{ARGV.join(" ")}"
cmd << " _#{@mack_gem_version}_" if @mack_gem_version
system cmd

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mack-0.8.0.101 bin/mackery
mack-0.8.0.100 bin/mackery
mack-0.8.0.2 bin/mackery
mack-0.8.2 bin/mackery
mack-0.8.1 bin/mackery
mack-0.8.0 bin/mackery
mack-0.8.3 bin/mackery
mack-0.8.3.1 bin/mackery