Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- findDefaultPlanJsonFile :: Member (Embed IO) r => Member (Error IOException) r => Member Log r => Sem r FilePath
- getPlanJsonFile :: Member (Embed IO) r => Member (Error IOException) r => Member Log r => Sem r String
- binDist :: Member (Embed IO) r => Member (Error GenericError) r => Member (Error IOException) r => Member Log r => String -> Sem r FilePath
Documentation
findDefaultPlanJsonFile :: Member (Embed IO) r => Member (Error IOException) r => Member Log r => Sem r FilePath Source #
Find the nearest plan.json going upwards from the current directory.
getPlanJsonFile :: Member (Embed IO) r => Member (Error IOException) r => Member Log r => Sem r String Source #
:: Member (Embed IO) r | |
=> Member (Error GenericError) r | |
=> Member (Error IOException) r | |
=> Member Log r | |
=> String | Package name |
-> Sem r FilePath | Path to executable |
Consult the "plan.json" generated by cabal to get the path to the executable corresponding. to a haskell package. It is assumed that the project has already been configured and the executable has been built.