#!/usr/bin/env ruby

Dir.chdir("#{__dir__}/..")

# Start the app with Padrino::Server
require 'bundler/setup'
require 'padrino-core/cli/launcher'

ARGV.unshift('start') if ARGV.first.nil? || ARGV.first.start_with?('-')
Padrino::Cli::Launcher.start ARGV

# Start the app with Rackup::Server
#require "rackup"
#Rackup::Server.start
