Sha256: 2032b523c58e142227f615e857ec3fc89cee083c6051402173393045b55f9614

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

#!/usr/bin/env ruby

require 'wassup'

debug = ARGV.delete("--debug")
path = ARGV[0] || 'Supfile'
port = ARGV[1] || 0

unless File.exists?(path)
  raise "Missing file: #{path}"
end

if debug
  Wassup::App.debug(path: path)
else
  Wassup::App.start(path: path, port: port.to_i)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wassup-0.4.1 bin/wassup