Cabal-1.22.2.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell98

Distribution.Simple.GHCJS

Synopsis

Documentation

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

Given a package DB stack, return all installed packages.

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

Given a single package DB, return all installed packages.

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

Start a REPL without loading any source files.

installLib Source

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 Source

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 Source

Return the FilePath to the global GHC package database.

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

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