Sha256: 9195d6c7b6250a43ff6ce0f95626802e41e45df5ebaa9380647c78023125c44a

Contents?: true

Size: 438 Bytes

Versions: 7

Compression:

Stored size: 438 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: utf-8 -*-

require 'coffee_without_nodejs/compiler'
require 'coffee_without_nodejs/watcher'

module CoffeeWithoutNodejs
  def self.compile(coffee, bare=true, create_target_jsfile=false)
    if File.file?(coffee)
      CoffeeCompiler.compile_file(coffee, bare, create_target_jsfile)
    else
      CoffeeCompiler.compile(coffee, bare)
    end
  end

  def self.watch!
    CoffeeWatcher.instance
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
coffee_without_nodejs-0.11.0 lib/coffee_without_nodejs.rb
coffee_without_nodejs-0.10.0 lib/coffee_without_nodejs.rb
coffee_without_nodejs-0.9.0 lib/coffee_without_nodejs.rb
coffee_without_nodejs-0.8.0 lib/coffee_without_nodejs.rb
coffee_without_nodejs-0.7.0 lib/coffee_without_nodejs.rb
coffee_without_nodejs-0.6.0 lib/coffee_without_nodejs.rb
coffee_without_nodejs-0.5.0 lib/coffee_without_nodejs.rb