Skip to content

Commit e0cb243

Browse files
committed
Add build
1 parent 2341684 commit e0cb243

File tree

4 files changed

+50
-8
lines changed

4 files changed

+50
-8
lines changed

.gitignore

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
.pulp-cache
2-
.psci
3-
.psci_modules/
4-
node_modules/
5-
bower_components/
6-
output/
1+
/.*
2+
!/.gitignore
3+
!/.jscsrc
4+
!/.jshintrc
5+
!/.travis.yml
6+
/bower_components/
7+
/node_modules/
8+
/output/

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
dist: trusty
3+
sudo: required
4+
node_js: 6
5+
install:
6+
- npm install -g bower
7+
- npm install
8+
script:
9+
- bower install --production
10+
- npm run -s build
11+
- bower install
12+
- npm test
13+
after_success:
14+
- >-
15+
test $TRAVIS_TAG &&
16+
echo $GITHUB_TOKEN | pulp login &&
17+
echo y | pulp publish --no-push

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
# purescript-options
22

3-
[![Latest release](http://img.shields.io/bower/v/purescript-options.svg)](https://github.com/purescript-contrib/purescript-options/releases)
3+
[![Latest release](http://img.shields.io/github/release/purescript-contrib/purescript-options.svg)](https://github.com/purescript-contrib/purescript-options/releases)
4+
[![Build Status](https://travis-ci.org/purescript-contrib/purescript-options.svg?branch=master)](https://travis-ci.org/purescript-contrib/purescript-options)
45
[![Maintainer: ethul](https://img.shields.io/badge/maintainer-ethul-lightgrey.svg)](http://github.com/ethul)
56

7+
Types and functions for dealing with JavaScript options objects.
8+
9+
## Installation
10+
11+
```
12+
bower install purescript-options
13+
```
14+
615
## Documentation
716

8-
* [Data.Options](docs/Data/Options.md)
17+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-options).

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"private": true,
3+
"scripts": {
4+
"clean": "rimraf output && rimraf .pulp-cache",
5+
"build": "pulp build --censor-lib --strict",
6+
"test": "pulp test"
7+
},
8+
"devDependencies": {
9+
"pulp": "^9.0.1",
10+
"purescript-psa": "^0.3.9",
11+
"purescript": "^0.10.1",
12+
"rimraf": "^2.5.4"
13+
}
14+
}

0 commit comments

Comments
 (0)