Skip to content

Commit d10160a

Browse files
committed
...
2 parents 0a5fdb4 + baa98de commit d10160a

File tree

7 files changed

+25
-60
lines changed

7 files changed

+25
-60
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
language: node_js
22
node_js: stable
3+
dist: trusty
4+
sudo: required
5+
node_js: 5
36
install:
4-
- npm install bower -g
57
- npm install
8+
- npm install -g bower
69
- bower install
710
script:
811
- npm run build
12+
after_success:
13+
- >-
14+
test $TRAVIS_TAG &&
15+
echo $GITHUB_TOKEN | pulp login &&
16+
echo y | pulp publish --no-push

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# purescript-halogen-css
22

3+
[![Latest release](http://img.shields.io/bower/v/purescript-halogen-css.svg)](https://github.com/slamdata/purescript-halogen-css/releases)
34
[![Build Status](https://travis-ci.org/slamdata/purescript-halogen-css.svg?branch=master)](https://travis-ci.org/slamdata/purescript-halogen-css)
5+
[![Dependency Status](https://www.versioneye.com/user/projects/56796dd0a7c90e002c00006d/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56796dd0a7c90e002c00006d)
46

57
An adapter between the `purescript-halogen` and `purescript-css` libraries.
68

7-
## Module documentation
9+
## Documentation
810

9-
- [Halogen.HTML.CSS](docs/Halogen/HTML/CSS.md)
10-
- [Halogen.HTML.CSS.Indexed](docs/Halogen/HTML/CSS/Indexed.md)
11+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-halogen-css).

bower.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
},
1515
"ignore": [
1616
"**/.*",
17-
"bower.json",
18-
"node_modules",
1917
"bower_components",
20-
"test"
18+
"node_modules",
19+
"output",
20+
"test",
21+
"bower.json",
22+
"package.json"
2123
],
2224
"dependencies": {
2325
"purescript-css": "^2.0.0",

docs/Halogen/HTML/CSS.md

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

docs/Halogen/HTML/CSS/Indexed.md

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

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
2-
"name": "purescript-halogen-css",
32
"private": true,
43
"license": "Apache-2.0",
54
"scripts": {
6-
"clean": "rm -rf output .pulp-cache docs",
5+
"clean": "rm -rf output .pulp-cache",
76
"build": "pulp build --censor-lib --strict"
87
},
98
"devDependencies": {

src/Halogen/HTML/CSS.purs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ module Halogen.HTML.CSS
77

88
import Prelude
99

10+
import CSS.Property (Key, Value)
11+
import CSS.Render (render, renderedSheet, collect)
12+
import CSS.Stylesheet (CSS, Rule(..), runS)
13+
1014
import Data.Array (mapMaybe, concatMap, singleton)
1115
import Data.Either (Either)
1216
import Data.Foldable (foldMap)
1317
import Data.Maybe (Maybe(..), fromMaybe)
1418
import Data.Newtype (class Newtype)
19+
import Data.StrMap as SM
1520
import Data.String (joinWith)
1621
import Data.Tuple (Tuple(..))
17-
import Data.StrMap as SM
1822

19-
import CSS.Property (Key, Value)
20-
import CSS.Render (render, renderedSheet, collect)
21-
import CSS.Stylesheet (CSS, Rule(..), runS)
22-
23-
import Halogen.HTML.Core (HTML, Prop, class IsProp, prop, propName, attrName)
2423
import Halogen.HTML as HH
24+
import Halogen.HTML.Core (HTML, Prop, class IsProp, prop, propName, attrName)
2525
import Halogen.HTML.Elements as HE
2626
import Halogen.HTML.Properties as P
2727

0 commit comments

Comments
 (0)