Package Exports
- install-purescript-cli
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (install-purescript-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
install-purescript-cli
A command-line tool to install PureScript
- First, it checks if a PureScript binary has been already cached in your machine, and restores that if available
- The second plan: if no cache is available, it downloads a prebuilt binary from the PureScript release page.
- The last resort: if a prebuilt binary is not provided for your platform or the downloaded binary doesn't work correctly, it downloads the PureScript source code and compile it with Stack.
In most cases you don't need to use this CLI directly. You would rather use purescript
npm package.
Installation
npm install install-purescript-cli
CLI
Usage:
install-purescript [options] [directory]
Example:
install-purescript .
install-purescript ./path/to/project
Options:
--purs-ver, -V <string> Specify PureScript version
(Default: 0.11.7)
--cache, -c <string> Specify cache directory
--no-cache Don't create or write a cache
--force, -f Reinstall a binary regardless of whether a cache exists
--name, -n <string> Change a binary name
(Default: 'purs.exe' on Windows, 'purs' on others)
--platform, -p <string> Download a binary for the specific platform
one of 'linux' 'darwin' and 'win32'
--help, -h Print usage information
--version, -v Print version
Also, these flags are passed to `stack install` command if provided:
--dry-run
--pedantic
--fast
--only-snapshot
--only-dependencies
--only-configure
--trace
--profile
--no-strip
--coverage
--no-run-tests
--no-run-benchmarks
Related project
- install-purescript — API for this module
License
ISC License © 2017 - 2018 Shinnosuke Watanabe