File tree Expand file tree Collapse file tree 14 files changed +165
-381
lines changed Expand file tree Collapse file tree 14 files changed +165
-381
lines changed Original file line number Diff line number Diff line change 4
4
/bower_components /
5
5
/node_modules /
6
6
/output /
7
- /tmp /
Original file line number Diff line number Diff line change 1
1
language : node_js
2
- sudo : false
3
- node_js :
4
- - 0.10
2
+ sudo : required
3
+ dist : trusty
4
+ node_js : 5
5
5
env :
6
6
- PATH=$HOME/purescript:$PATH
7
7
install :
8
8
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
9
9
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10
10
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11
11
- chmod a+x $HOME/purescript
12
+ - npm install -g bower
12
13
- npm install
14
+ - bower install
13
15
script :
14
16
- npm run build
17
+ after_success :
18
+ - >-
19
+ test $TRAVIS_TAG &&
20
+ psc-publish > .pursuit.json &&
21
+ curl -X POST http://pursuit.purescript.org/packages \
22
+ -d @.pursuit.json \
23
+ -H 'Accept: application/json' \
24
+ -H "Authorization: token ${GITHUB_TOKEN}"
Original file line number Diff line number Diff line change 4
4
[ ![ Build Status] ( https://travis-ci.org/purescript/purescript-maybe.svg?branch=master )] ( https://travis-ci.org/purescript/purescript-maybe )
5
5
[ ![ Dependency Status] ( https://www.versioneye.com/user/projects/55848c22363861001d000326/badge.svg?style=flat )] ( https://www.versioneye.com/user/projects/55848c22363861001d000326 )
6
6
7
- Optional values.
7
+ Optional values. ` Maybe ` is often used to capture failures and in cases where nullable values might otherwise have been used in other languages.
8
8
9
9
## Installation
10
10
11
11
```
12
12
bower install purescript-maybe
13
13
```
14
14
15
- ## Module documentation
15
+ ## Documentation
16
16
17
- - [ Data.Maybe] ( docs/Data/Maybe.md )
18
- - [ Data.Maybe.Unsafe] ( docs/Data/Maybe/Unsafe.md )
19
-
20
- ### Maybe monoids
21
-
22
- - [ Data.Maybe.First] ( docs/Data/Maybe/First.md )
23
- - [ Data.Maybe.Last] ( docs/Data/Maybe/Last.md )
17
+ Module documentation is [ published on Pursuit] ( http://pursuit.purescript.org/packages/purescript-maybe ) .
Original file line number Diff line number Diff line change 2
2
"name" : " purescript-maybe" ,
3
3
"homepage" : " https://github.com/purescript/purescript-maybe" ,
4
4
"description" : " Optional values" ,
5
- "keywords" : [
6
- " purescript"
7
- ],
8
5
"license" : " MIT" ,
9
6
"repository" : {
10
7
"type" : " git" ,
17
14
" output" ,
18
15
" test" ,
19
16
" bower.json" ,
20
- " gulpfile.js" ,
21
17
" package.json"
22
18
],
23
19
"dependencies" : {
24
- "purescript-monoid" : " ^0.3.0 "
20
+ "purescript-monoid" : " ^1.0.0-rc.1 "
25
21
}
26
22
}
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
3
"scripts" : {
4
- "postinstall " : " pulp dep install " ,
5
- "build" : " pulp build && rimraf docs && pulp docs "
4
+ "clean " : " rimraf output && rimraf .pulp-cache " ,
5
+ "build" : " pulp build"
6
6
},
7
7
"devDependencies" : {
8
- "pulp" : " ^4.0.1 " ,
9
- "rimraf" : " ^2.4.1 "
8
+ "pulp" : " ^8.1.0 " ,
9
+ "rimraf" : " ^2.5.0 "
10
10
}
11
11
}
You can’t perform that action at this time.
0 commit comments