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

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
garyb committed Jul 2, 2015
1 parent b09b507 commit 6aacee9
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 72 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: node_js
sudo: false
node_js:
- 0.10
env:
Expand All @@ -8,7 +9,6 @@ install:
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
- chmod a+x $HOME/purescript
- npm install bower gulp -g
- npm install && bower install
- npm install
script:
- gulp
- npm run build
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# purescript-math

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

Standard math functions from JavaScript.
Expand Down
1 change: 0 additions & 1 deletion docs/Math.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,3 @@ sqrt2 :: Number
The square root of two, around 1.41421.



60 changes: 0 additions & 60 deletions gulpfile.js

This file was deleted.

14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"private": true,
"scripts": {
"postinstall": "pulp dep install",
"build": "jshint src && jscs src && pulp build && rimraf docs && pulp docs"
},
"devDependencies": {
"gulp": "^3.8.11",
"gulp-jscs": "^1.6.0",
"gulp-jshint": "^1.10.0",
"gulp-plumber": "^1.0.0",
"gulp-purescript": "^0.5.0-rc.1",
"rimraf": "^2.3.3"
"jscs": "^1.13.1",
"jshint": "^2.8.0",
"pulp": "^4.0.2",
"rimraf": "^2.4.1"
}
}
4 changes: 2 additions & 2 deletions src/Math.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ exports.pow = function (n) {
};
};

exports["%"] = function(n) {
return function(m) {
exports["%"] = function (n) {
return function (m) {
return n % m;
};
};
Expand Down

0 comments on commit 6aacee9

Please sign in to comment.