Safe Haskell | Safe-Inferred |
---|
- data CompileMode
- data CoffeeScript = CoffeeScript {}
- allCoffeeFiles :: CoffeeScript -> IO [FilePath]
- destDir :: CoffeeScript -> FilePath
- srcDir :: CoffeeScript -> FilePath
- createDirUnlessExists :: FilePath -> IO ()
- getCompilerMode :: Maybe String -> CompileMode
- getDestDir :: Maybe String -> CoffeeScript -> FilePath
- requestedCoffeeFile :: String -> FilePath
Documentation
data CompileMode Source
Simple data structure for CompileMode
allCoffeeFiles :: CoffeeScript -> IO [FilePath]Source
Gets all the .coffee files in the source directory
destDir :: CoffeeScript -> FilePathSource
Destination directory
srcDir :: CoffeeScript -> FilePathSource
Source directory
createDirUnlessExists :: FilePath -> IO ()Source
Function to create directories if they don't exist
getCompilerMode :: Maybe String -> CompileModeSource
Gets the CompileMode
getDestDir :: Maybe String -> CoffeeScript -> FilePathSource
Gets the destination directory
requestedCoffeeFile :: String -> FilePathSource
Converts pathtofile.js to file.coffee