Cabal-1.22.4.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell98

Distribution.Simple.GHCJS

Synopsis

Documentation

getInstalledPackages :: Verbosity -> PackageDBStack -> ProgramConfiguration -> IO InstalledPackageIndex

Given a package DB stack, return all installed packages.

getPackageDBContents :: Verbosity -> PackageDB -> ProgramConfiguration -> IO InstalledPackageIndex

Given a single package DB, return all installed packages.

startInterpreter :: Verbosity -> ProgramConfiguration -> Compiler -> PackageDBStack -> IO ()

Start a REPL without loading any source files.

installLib

Arguments

:: Verbosity 
-> LocalBuildInfo 
-> FilePath

install location

-> FilePath

install location for dynamic libraries

-> FilePath

Build location

-> PackageDescription 
-> Library 
-> ComponentLocalBuildInfo 
-> IO () 

Install for ghc, .hi, .a and, if --with-ghci given, .o

installExe

Arguments

:: Verbosity 
-> LocalBuildInfo 
-> InstallDirs FilePath

Where to copy the files to

-> FilePath

Build location

-> (FilePath, FilePath)

Executable (prefix,suffix)

-> PackageDescription 
-> Executable 
-> IO () 

getGlobalPackageDB :: Verbosity -> ConfiguredProgram -> IO FilePath

Return the FilePath to the global GHC package database.

runCmd :: ProgramConfiguration -> FilePath -> (FilePath, FilePath, [String])

Get the JavaScript file name and command and arguments to run a program compiled by GHCJS the exe should be the base program name without exe extension