haskell-coffee-0.1.0.1: Simple CoffeeScript API

Safe HaskellSafe-Inferred

Coffee.Bindings

Description

A simple Cofeescript library.

Synopsis

Documentation

data Coffee Source

The Coffee data structure

Constructors

Coffee 

Fields

customCompiler :: Maybe FilePath

Custom compiler path, set to Nothing for default

bare :: Bool

set True to use '-b' option.

coffeeCompileSource

Arguments

:: [FilePath]

List of .coffee files to compile

-> Maybe FilePath

Output directory, Nothing for default

-> Coffee

Coffee structure for more options

-> IO ExitCode

Exit code

Compile .coffee file(s)

coffeeVersion :: Coffee -> IO StringSource

Get the version of the coffee binary

coffeePrint :: FilePath -> Coffee -> IO StringSource

Print the coffee output