You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
This plugin requires that the PureScript binaries first be installed. The binaries may be installed using the [purescript](https://www.npmjs.com/package/purescript) NPM package or as described on the PureScript [installation](https://github.com/purescript/purescript/wiki/Language-Guide:-Getting-Started#installation) section of the GitHub wiki.
16
16
17
-
## Example
17
+
## Basic example
18
18
19
19
```js
20
20
var gulp =require('gulp');
@@ -28,6 +28,8 @@ gulp.task('psc', function(){
28
28
});
29
29
```
30
30
31
+
There is also [a more complete example](#full-example) that makes use of all the provided tasks in a common setup.
32
+
31
33
## API
32
34
33
35
Refer to the PureScript [compiler usage](https://github.com/purescript/purescript/wiki/Language-Guide:-Getting-Started#compiler-usage) section of the Github wiki for additional details on the behaviour of each option below.
@@ -134,4 +136,54 @@ Files added to the `.psci` file with the `:f` command. Glob syntax is supported.
134
136
135
137
## Command line arguments
136
138
137
-
The `--verbose` argument will display the output during the `psc-make` command. For example `gulp --verbose`.
139
+
The `--verbose` argument will display the output during the `psc` command. For example `gulp --verbose`.
140
+
141
+
## Full example
142
+
143
+
This example will make and bundle the code, run tests, and produce a `.psci` file and documentation for a project using the common `bower_components`/`src` file layout.
0 commit comments