Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adinapoli/snaplet-purescript
Automatic (re)compilation of Purescript code
https://github.com/adinapoli/snaplet-purescript
Last synced: 23 days ago
JSON representation
Automatic (re)compilation of Purescript code
- Host: GitHub
- URL: https://github.com/adinapoli/snaplet-purescript
- Owner: adinapoli
- License: other
- Created: 2015-01-14T14:58:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-10-12T05:45:18.000Z (about 2 years ago)
- Last Synced: 2023-03-11T21:07:42.884Z (over 1 year ago)
- Language: Haskell
- Homepage: http://adinapoli.github.io/snaplet-purescript/
- Size: 137 KB
- Stars: 12
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/adinapoli/snaplet-purescript.svg?branch=master)](https://travis-ci.org/adinapoli/snaplet-purescript)
# Snaplet for automatic recompilation of your Purescript project
![ps_repl](http://adinapoli.github.io/snaplet-purescript/images/ps_repl.png)
# Table of contents
* Adding `snaplet-purescript` to your snaplets
* Requirements
* Use `snaplet-purescript` on a fresh project
* Use `snaplet-purescript` on an existing project
* Guide to the snaplet configuration
* Verbosity
* Automatic recompilation
* Bundle
* Pulp Path
* PureScript Path
* Psa Options
* Permissive Init
* Bundle Name
* Modules
* Hooks## Automatic recompilation
There are two compilation modes: `CompileOnce` and `CompileAlways`.
As the name implies, the former will run your Grunt psc task just
once, during the first load of your app.
The latter will run it everytime something under `/purescript` is
demanded.When you run your project using the `devel` env, `CompileAlways`
is assumed. For all the other envs, production included, `CompileOnce`
is the default.You can also control the verbosity of the snaplet choosing between
`Verbose` or `Quiet`.# Contributions
This library scratches my own itches, but please fork away!
Pull requests are encouraged to implement the part of the API
you need.