git.iko.soy/purescript-intl
on master help sign in
travis integration
commit44e69a8509400e2d7de52dd831f33d241951235b authorMarcin Szamotulski <mszamot@gmail.com> dateSat 17 Jun 2017, 13:33 (9 years ago) parent8edc50f
3 files changed+55
.travis.yaml+23 README.md+1 package.json+31
.travis.yamlnew file+23
@@ -0,0 +1,23 @@
1+language: node_js
2+dist: trusty
3+sudo: required
4+node_js: stable
5+env:
6+ - PATH=$HOME/purescript:$PATH
7+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
12+ - npm install -g bower
13+ - npm install
14+script:
15+ - bower install --production
16+ - npm run -s build
17+ - bower install
18+ - npm -s test
19+after_success:
20+- >-
21+ test $TRAVIS_TAG &&
22+ echo $GITHUB_TOKEN | pulp login &&
23+ echo y | pulp publish --no-push
README.md+1
@@ -1,6 +1,7 @@
11# PureScript bindings to Intl - JavaScript Internalisation API
22
33[![Maintainer: coot](https://img.shields.io/badge/maintainer-coot-lightgrey.svg)](http://github.com/coot) [![documentation](https://pursuit.purescript.org/packages/purescript-intl)](https://pursuit.purescript.org/packages/purescript-intl)
4+[![Build Status](https://travis-ci.org/coot/purescript-intl.svg?branch=master)](https://travis-ci.org/coot/purescript-intl)
45
56[Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl)
67is ECMAScript Internalisation API. This library provides type safe PureScript
package.jsonnew file+31
@@ -0,0 +1,31 @@
1+{
2+ "name": "purescript-intl",
3+ "version": "0.1.0",
4+ "description": "PureScript interface to Intl",
5+ "main": "index.js",
6+ "directories": {
7+ "test": "test"
8+ },
9+ "scripts": {
10+ "build": "pulp build",
11+ "test": "pulp test"
12+ },
13+ "repository": {
14+ "type": "git",
15+ "url": "git+https://github.com/coot/purescript-intl.git"
16+ },
17+ "keywords": [
18+ "Intl",
19+ "internalisation",
20+ "purescript"
21+ ],
22+ "author": "Marcin Szamotulski",
23+ "license": "MPL-2.0",
24+ "bugs": {
25+ "url": "https://github.com/coot/purescript-intl/issues"
26+ },
27+ "homepage": "https://github.com/coot/purescript-intl#readme",
28+ "devDependencies": {
29+ "pulp": "^11.0.0"
30+ }
31+}