JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 171
  • Score
    100M100P100Q76259F
  • License MIT

A command-line tool to install PureScript

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

NPM version Build Status Build status Coverage Status

A command-line tool to install PureScript

Screencast

  1. First, it checks if an already installed PureScript binary is cached, and restores the cache if available
  2. The second plan: If no cache is available, it downloads a prebuilt binary from the PureScript release page.
  3. 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.

Installation

Use npm.

npm install --global 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.6)
--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

License

Copyright (c) 2017 Shinnosuke Watanabe

Licensed under the MIT License.