-
-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Currently if one wants to check out this library and isn't familiar with spago, the readme inside the examples folder is not too helpful:
purescript-flame/examples/README.md
Lines 3 to 6 in a5cef59
| Build all examples with | |
| ```bash | |
| npm run build-examples | |
| ``` |
This command doesn't actually build the purs files and running it without installing and building with spago results in an error. Maybe the readme could contain all the steps to build the examples or the npm run scripts should be setup differently like
"example-counter" : "spago build -p examples/Counter/Counter.purs && parcel build examples/Counter/counter.js --dist-dir examples/Counter/dist && parcel serve examples/Counter/counter.html"
to build and serve an example for an effortless setup.
I understand this exact solution wouldn't work with `npm run build-examples' and tests, just making a general suggestion.