2019-01-31 02:54:47 +00:00
|
|
|
## Development (Posix only)
|
|
|
|
|
2019-02-01 04:31:06 +00:00
|
|
|
1. Install `purescript`, `purescript-spago`, `parcel-bundler`:
|
2019-01-31 02:54:47 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
2. (optional) working with .dhall files:
|
|
|
|
|
|
|
|
```
|
|
|
|
stack install dhall dhall-json
|
|
|
|
```
|
|
|
|
|
|
|
|
3. Download purescript libraries (1x only):
|
|
|
|
|
|
|
|
```
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
|
4. build dist/app.min.js:
|
|
|
|
|
|
|
|
```
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
|
|
|
On a successful build, `make` will also update `../static/js/`,
|
|
|
|
since the `purs/` folder is opaque to the espial executable build process.
|
|
|
|
|