Skip to content
This repository has been archived by the owner on Oct 4, 2020. 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 Jun 11, 2016
1 parent 2a93d41 commit f48305d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
language: node_js
dist: trusty
sudo: required
node_js: 5
node_js: 6
env:
- PATH=$HOME/purescript:$PATH
install:
- npm install
- 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')
- 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 -g bower
- npm install
- bower install
script:
- npm run build
- npm run -s build
after_success:
- >-
test $TRAVIS_TAG &&
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

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

## Non-standards compliant interfaces

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.
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.
15 changes: 6 additions & 9 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,15 @@
"package.json"
],
"dependencies": {
"purescript-unsafe-coerce": "^1.0.0",
"purescript-datetime": "^1.0.0",
"purescript-enums": "^1.0.0",
"purescript-exceptions": "^1.0.0",
"purescript-foldable-traversable": "^1.0.0",
"purescript-foreign": "^1.0.0",
"purescript-exceptions": "~1.0.0",
"purescript-js-date": "^1.0.0",
"purescript-media-types": "^1.0.0",
"purescript-nullable": "^1.0.0",
"purescript-datetime": "~1.0.0",
"purescript-media-types": "~1.0.0",
"purescript-prelude": "^1.0.0",
"purescript-foldable-traversable": "^1.0.0",
"purescript-js-date": "^1.0.0"
},
"devDependencies": {
"purescript-psci-support": "^1.0.0"
"purescript-unsafe-coerce": "^1.0.0"
}
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
"private": true,
"scripts": {
"clean": "rimraf output && rimraf .pulp-cache",
"build": "jshint src && jscs src && pulp build"
"build": "jshint src && jscs src && psa \"src/**/*.purs\" \"bower_components/purescript-*/src/**/*.purs\" --censor-lib --strict",
"test": "psc \"src/**/*.purs\" \"bower_components/purescript-*/src/**/*.purs\" \"test/**/*.purs\" && psc-bundle \"output/**/*.js\" --module Test.Main --main Test.Main | node"
},
"devDependencies": {
"jscs": "^2.8.0",
"jshint": "^2.9.1",
"pulp": "^8.2.0",
"purescript": "^0.7.6",
"rimraf": "^2.4.1"
"purescript-psa": "^0.3.8",
"rimraf": "^2.5.0"
}
}

0 comments on commit f48305d

Please sign in to comment.