Skip to content

Commit 6841c2f

Browse files
committed
Merge pull request #3 from purescript-node/build
Add travis build & update readme
2 parents 52ee603 + c7ea355 commit 6841c2f

File tree

5 files changed

+37
-73
lines changed

5 files changed

+37
-73
lines changed

.gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
/.*
2+
!/.gitignore
3+
!/.travis.yml
14
/bower_components/
25
/node_modules/
36
/output/
4-
/.psci*
5-
/src/.webpack.js

.travis.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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+
- bower install
9+
script:
10+
- npm run -s build

README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
# purescript-node-url
22

3-
A wrapper for Node's URL and QueryString APIs
3+
[![Latest release](http://img.shields.io/bower/v/purescript-node-url.svg)](https://github.com/purescript-node/purescript-node-url/releases)
4+
[![Build Status](https://travis-ci.org/purescript-node/purescript-node-url.svg?branch=master)](https://travis-ci.org/purescript-node/purescript-node-url)
45

5-
- [Module Documentation](docs/)
6+
A wrapper for Node's `URL` and `QueryString` APIs
67

7-
## Usage
8+
## Installation
89

9-
bower i purescript-node-url
10+
```
11+
bower install purescript-node-url
12+
```
13+
14+
## Documentation
15+
16+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-node-url).

docs/Node/URL.md

-67
This file was deleted.

package.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"private": true,
3+
"scripts": {
4+
"clean": "rimraf output && rimraf .pulp-cache",
5+
"build": "pulp build --censor-lib --strict"
6+
},
7+
"devDependencies": {
8+
"pulp": "^9.0.0",
9+
"purescript-psa": "^0.3.9",
10+
"purescript": "^0.9.1",
11+
"rimraf": "^2.5.0"
12+
}
13+
}

0 commit comments

Comments
 (0)