Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit f48305d

Browse files
committed
Update build
1 parent 2a93d41 commit f48305d

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

.travis.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
language: node_js
22
dist: trusty
33
sudo: required
4-
node_js: 5
4+
node_js: 6
5+
env:
6+
- PATH=$HOME/purescript:$PATH
57
install:
6-
- npm install
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+
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10+
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11+
- chmod a+x $HOME/purescript
712
- npm install -g bower
13+
- npm install
814
- bower install
915
script:
10-
- npm run build
16+
- npm run -s build
1117
after_success:
1218
- >-
1319
test $TRAVIS_TAG &&

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![Latest release](http://img.shields.io/bower/v/purescript-dom.svg)](https://github.com/purescript-contrib/purescript-dom/releases)
44
[![Build Status](https://travis-ci.org/purescript-contrib/purescript-dom.svg?branch=master)](https://travis-ci.org/purescript-contrib/purescript-dom)
5+
[![Dependency Status](https://www.versioneye.com/user/projects/575b690c7757a0004a1decd6/badge.svg?style=flat)](https://www.versioneye.com/user/projects/575b690c7757a0004a1decd6)
56
[![Maintainer: garyb](https://img.shields.io/badge/maintainer-garyb-lightgrey.svg)](http://github.com/garyb)
67

78
Type definitions, low level interface implementations, and standard effect type for use while interacting with the DOM.
@@ -35,4 +36,4 @@ Module documentation is published on Pursuit: http://pursuit.purescript.org/pack
3536

3637
## Non-standards compliant interfaces
3738

38-
Currently we're choosing not to implement deprecated or non-standard interfaces even if they are commonly available. The `innerHTML` property of `Element` and `keyCode`/`charCode` of `KeyboardEvent` being examples of this. Ideally this module will only provide types and functions that "everyone" can agree on. This also means new parts of the specifications that are currently not widely available may also be omitted for the time being, however this only applies to the API implementation, types for new interfaces will be included as needed.
39+
Currently we're choosing not to implement deprecated or non-standard interfaces even if they are commonly available. The `innerHTML` property of `Element` and `keyCode`/`charCode` of `KeyboardEvent` being examples of this. Ideally this module will only provide types and functions that "everyone" can agree on. This also means new parts of the specifications that are currently not widely available may also be omitted for the time being, however this only applies to the API implementation, types for new interfaces will be included as needed.

bower.json

+6-9
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,15 @@
2020
"package.json"
2121
],
2222
"dependencies": {
23-
"purescript-unsafe-coerce": "^1.0.0",
23+
"purescript-datetime": "^1.0.0",
2424
"purescript-enums": "^1.0.0",
25+
"purescript-exceptions": "^1.0.0",
26+
"purescript-foldable-traversable": "^1.0.0",
2527
"purescript-foreign": "^1.0.0",
26-
"purescript-exceptions": "~1.0.0",
28+
"purescript-js-date": "^1.0.0",
29+
"purescript-media-types": "^1.0.0",
2730
"purescript-nullable": "^1.0.0",
28-
"purescript-datetime": "~1.0.0",
29-
"purescript-media-types": "~1.0.0",
3031
"purescript-prelude": "^1.0.0",
31-
"purescript-foldable-traversable": "^1.0.0",
32-
"purescript-js-date": "^1.0.0"
33-
},
34-
"devDependencies": {
35-
"purescript-psci-support": "^1.0.0"
32+
"purescript-unsafe-coerce": "^1.0.0"
3633
}
3734
}

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
"private": true,
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
5-
"build": "jshint src && jscs src && pulp build"
5+
"build": "jshint src && jscs src && psa \"src/**/*.purs\" \"bower_components/purescript-*/src/**/*.purs\" --censor-lib --strict",
6+
"test": "psc \"src/**/*.purs\" \"bower_components/purescript-*/src/**/*.purs\" \"test/**/*.purs\" && psc-bundle \"output/**/*.js\" --module Test.Main --main Test.Main | node"
67
},
78
"devDependencies": {
89
"jscs": "^2.8.0",
910
"jshint": "^2.9.1",
1011
"pulp": "^8.2.0",
11-
"purescript": "^0.7.6",
12-
"rimraf": "^2.4.1"
12+
"purescript-psa": "^0.3.8",
13+
"rimraf": "^2.5.0"
1314
}
1415
}

0 commit comments

Comments
 (0)