Sha256: f543497c20f5099449ba28d2599ff5249cfb8174864feef1ca97e2f192a13eb8

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

require 'thor'

module Resin
  class CLI < Thor
    desc 'start', 'Run the current Resin application'
    def start
      require 'sinatra/base'
      require 'sinatra/resin'
      Sinatra::Application.run!
    end


    desc 'compile', 'Compile all the Amber and JavaScripts together'
    def compile
      require 'resin/compiler'
      Resin::Compiler.run
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
resin-0.4.0 lib/resin/cli.rb