Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit f4e42a6

Browse files
committed
Merge pull request #52 from purescript-contrib/topic/issue-48-and-51
Topic/issue 48 and 51
2 parents fc001dd + e51edf5 commit f4e42a6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+739
-845
lines changed

MODULE.md

Lines changed: 0 additions & 456 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,6 @@ Files added to the `.psci` file with the `:m` command. Glob syntax is supported.
134134

135135
Files added to the `.psci` file with the `:f` command. Glob syntax is supported.
136136

137-
## Command line arguments
138-
139-
The `--verbose` argument will display the output during the `psc` command. For example `gulp --verbose`.
140-
141137
## Full example
142138

143139
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.

bower.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,7 @@
22
"name": "gulp-purescript",
33
"private": true,
44
"devDependencies": {
5-
"purescript-foreign": "0.4.2",
6-
"purescript-maybe": "0.2.2",
7-
"purescript-either": "0.1.8",
8-
"purescript-aff": "0.10.1",
9-
"purescript-exceptions": "0.2.3",
10-
"purescript-arrays": "0.3.7",
11-
"purescript-transformers": "0.5.5",
12-
"purescript-monad-eff": "0.1.0",
13-
"purescript-tuples": "0.3.4",
14-
"purescript-control": "0.2.6"
5+
"purescript-aff": "~0.11.3",
6+
"purescript-foreign": "~0.6.0"
157
}
168
}

docs/GulpPurescript/Buffer.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Module GulpPurescript.Buffer
2+
3+
#### `Buffer`
4+
5+
``` purescript
6+
data Buffer
7+
```
8+
9+
#### `mkBufferFromString`
10+
11+
``` purescript
12+
mkBufferFromString :: String -> Buffer
13+
```
14+
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Module GulpPurescript.ChildProcess
2+
3+
#### `ChildProcess`
4+
5+
``` purescript
6+
data ChildProcess :: !
7+
```
8+
9+
#### `spawn`
10+
11+
``` purescript
12+
spawn :: forall eff. String -> Array String -> Aff (cp :: ChildProcess | eff) String
13+
```
14+
15+

docs/GulpPurescript/Glob.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Module GulpPurescript.Glob
2+
3+
#### `Glob`
4+
5+
``` purescript
6+
data Glob :: !
7+
```
8+
9+
#### `glob`
10+
11+
``` purescript
12+
glob :: forall eff. String -> Aff (glob :: Glob | eff) (Array String)
13+
```
14+
15+
#### `globAll`
16+
17+
``` purescript
18+
globAll :: forall eff. Array String -> Aff (glob :: Glob | eff) (Array (Array String))
19+
```
20+
21+

docs/GulpPurescript/GulpUtil.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Module GulpPurescript.GulpUtil
2+
3+
#### `File`
4+
5+
``` purescript
6+
data File
7+
```
8+
9+
#### `mkPluginError`
10+
11+
``` purescript
12+
mkPluginError :: String -> String -> Error
13+
```
14+
15+
#### `mkFile`
16+
17+
``` purescript
18+
mkFile :: String -> Buffer -> File
19+
```
20+
21+

docs/GulpPurescript/Logalot.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Module GulpPurescript.Logalot
2+
3+
#### `Logalot`
4+
5+
``` purescript
6+
data Logalot :: !
7+
```
8+
9+
#### `info`
10+
11+
``` purescript
12+
info :: forall eff. String -> Eff (logalot :: Logalot | eff) Unit
13+
```
14+
15+

docs/GulpPurescript/Minimist.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Module GulpPurescript.Minimist
2+
3+
#### `minimist`
4+
5+
``` purescript
6+
minimist :: forall a. (IsForeign a) => Array String -> Maybe a
7+
```
8+
9+

docs/GulpPurescript/OS.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Module GulpPurescript.OS
2+
3+
#### `OS`
4+
5+
``` purescript
6+
data OS :: !
7+
```
8+
9+
#### `Platform`
10+
11+
``` purescript
12+
data Platform
13+
= Darwin
14+
| Linux
15+
| Win32
16+
```
17+
18+
##### Instances
19+
``` purescript
20+
instance showPlatform :: Show Platform
21+
instance isForeignPlatform :: IsForeign Platform
22+
```
23+
24+
#### `platform`
25+
26+
``` purescript
27+
platform :: forall eff. Eff (os :: OS | eff) (Maybe Platform)
28+
```
29+
30+

0 commit comments

Comments
 (0)