Skip to content
This repository was archived by the owner on Jun 5, 2022. It is now read-only.

Commit 6aacee9

Browse files
committed
Update build
1 parent b09b507 commit 6aacee9

File tree

6 files changed

+14
-72
lines changed

6 files changed

+14
-72
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: node_js
2+
sudo: false
23
node_js:
34
- 0.10
45
env:
@@ -8,7 +9,6 @@ install:
89
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
910
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1011
- chmod a+x $HOME/purescript
11-
- npm install bower gulp -g
12-
- npm install && bower install
12+
- npm install
1313
script:
14-
- gulp
14+
- npm run build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# purescript-math
22

3+
[![Latest release](http://img.shields.io/bower/v/purescript-math.svg)](https://github.com/purescript/purescript-math/releases)
34
[![Build Status](https://travis-ci.org/purescript/purescript-math.svg?branch=master)](https://travis-ci.org/purescript/purescript-math)
45

56
Standard math functions from JavaScript.

docs/Math.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,3 @@ sqrt2 :: Number
226226
The square root of two, around 1.41421.
227227

228228

229-

gulpfile.js

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

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"private": true,
3+
"scripts": {
4+
"postinstall": "pulp dep install",
5+
"build": "jshint src && jscs src && pulp build && rimraf docs && pulp docs"
6+
},
37
"devDependencies": {
4-
"gulp": "^3.8.11",
5-
"gulp-jscs": "^1.6.0",
6-
"gulp-jshint": "^1.10.0",
7-
"gulp-plumber": "^1.0.0",
8-
"gulp-purescript": "^0.5.0-rc.1",
9-
"rimraf": "^2.3.3"
8+
"jscs": "^1.13.1",
9+
"jshint": "^2.8.0",
10+
"pulp": "^4.0.2",
11+
"rimraf": "^2.4.1"
1012
}
1113
}

src/Math.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ exports.pow = function (n) {
4545
};
4646
};
4747

48-
exports["%"] = function(n) {
49-
return function(m) {
48+
exports["%"] = function (n) {
49+
return function (m) {
5050
return n % m;
5151
};
5252
};

0 commit comments

Comments
 (0)