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.
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@ var gulp = require('gulp');
21
21
22
22
var purescript =require('gulp-purescript');
23
23
24
-
gulp.task('psc', function(){
25
-
returnpurescript.psc({
24
+
gulp.task('make', function(){
25
+
returnpurescript.compile({
26
26
src:'src/*.purs'
27
27
});
28
28
});
@@ -36,9 +36,9 @@ Refer to the PureScript [compiler usage](https://github.com/purescript/purescrip
36
36
37
37
Options can be passed to the Haskell runtime system for `purs` by passing a `--purs-rts-flags` argument to `gulp`. Any values that follow this flag will be passed through to the runtime. There is no need to include `+RTS`/`-RTS` options as these are inserted automatically. See [the GHC documentation](https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/runtime-control.html#rts-opts-cmdline) for information on the available RTS options.
38
38
39
-
### `purescript.psc(options)`
39
+
### `purescript.compile(options)`
40
40
41
-
Invokes the `psc` command. The following options are supported.
41
+
Invokes the `purs compile` command. The following options are supported.
42
42
43
43
###### `src` (String or String Array)
44
44
@@ -72,13 +72,13 @@ Toggles `--no-prefix` that does not include the comment header.
72
72
73
73
Toggles `--json-errors` that prints errors to stderr as JSON.
74
74
75
-
### `purescript.pscBundle(options)`
75
+
### `purescript.bundle(options)`
76
76
77
-
Invokes the `purs compile` command. The following options are supported.
77
+
Invokes the `purs bundle` command. The following options are supported.
78
78
79
79
###### `src` (String or String Array)
80
80
81
-
The `psc`-produced JavaScript source files to bundle. Glob syntax is supported.
81
+
The `purs compile`-produced JavaScript source files to bundle. Glob syntax is supported.
82
82
83
83
###### `output` (String)
84
84
@@ -100,7 +100,7 @@ Sets `--namespace=<string>` that specifies the namespace that PureScript modules
100
100
101
101
Toggles `--source-maps` that generates source maps.
102
102
103
-
### `purescript.pscDocs(options)`
103
+
### `purescript.docs(options)`
104
104
105
105
Invokes the `purs docs` command. The following options are supported.
0 commit comments