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

Commit

Permalink
Merge pull request #11 from garyb/halogen-0.8
Browse files Browse the repository at this point in the history
Update for Halogen 0.8, stricter build
  • Loading branch information
garyb committed May 13, 2016
2 parents cb4cac8 + 1378018 commit 6021083
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ install:
- npm install -g bower
- bower install
script:
- npm run build
- npm run example
after_success:
- >-
test $TRAVIS_TAG &&
node_modules/.bin/psc-publish > .pursuit.json &&
curl -X POST http://pursuit.purescript.org/packages \
-d @.pursuit.json \
-H 'Accept: application/json' \
-H "Authorization: token ${GITHUB_TOKEN}"
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
],
"dependencies": {
"purescript-echarts": "^0.5.0",
"purescript-halogen": "^0.7.0",
"purescript-halogen-css": "^0.4.0"
"purescript-halogen": "^0.8.0",
"purescript-halogen-css": "^0.5.0"
},
"devDependencies": {
"purescript-debug": "^0.1.2",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"clean": "rimraf output && rimraf .pulp-cache",
"build": "pulp build",
"build": "pulp build --censor-lib --strict",
"example": "pulp browserify --include example/src --to example/dist/test.js"
},
"dependencies": {
Expand All @@ -11,6 +11,7 @@
"devDependencies": {
"pulp": "^8.1.0",
"purescript": "^0.8.5",
"purescript-psa": "^0.3.8",
"rimraf": "^2.5.2"
}
}
12 changes: 6 additions & 6 deletions src/Halogen/ECharts.purs
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
module Halogen.ECharts
( echarts
, EChartsState()
, EChartsState
, EChartsQuery(..)
, initialEChartsState
, EChartsEffects()
, EChartsEffects
) where

import Prelude

import Control.Monad.Aff.AVar (AVAR())
import Control.Monad.Aff.AVar (AVAR)
import Control.Monad.Aff.Free (class Affable)

import Data.Int (toNumber)
import Data.Maybe (Maybe(..))
import Data.NaturalTransformation (Natural())
import Data.NaturalTransformation (Natural)

import DOM (DOM())
import DOM.HTML.Types (HTMLElement())
import DOM (DOM)
import DOM.HTML.Types (HTMLElement)

import CSS.Geometry (width, height)
import CSS.Size (px)
Expand Down

0 comments on commit 6021083

Please sign in to comment.