Skip to content

Commit

Permalink
Merge pull request #16 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 f407436 + 82474ce commit b9cb64c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 21 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@ script:
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
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"purescript-ace": "^0.11.0",
"purescript-datetime": "^0.9.1",
"purescript-halogen": "^0.7.0",
"purescript-halogen": "^0.8.0",
"purescript-random": "^0.2.3",
"purescript-refs": "^0.2.0"
}
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
"private": true,
"scripts": {
"clean": "rimraf output && rimraf .pulp-cache",
"build": "pulp build",
"build": "pulp build --censor-lib --strict",
"example": "bower link && cd example && bower link purescript-ace-halogen && npm run build"
},
"dependencies": {
"virtual-dom": "^2.1.1"
},
"devDependencies": {
"pulp": "^8.1.0",
"pulp": "^8.2.0",
"purescript-psa": "^0.3.8",
"purescript": "^0.8.5",
"rimraf": "^2.5.2"
}
Expand Down
26 changes: 13 additions & 13 deletions src/Ace/Halogen/Component.purs
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@ module Ace.Halogen.Component
, AceQuery(..)
, AceState(..)
, initialAceState
, AceEffects()
, AceEffects
, Autocomplete(..)
, CompleteFn()
, CompleteFn
) where

import Prelude

import Control.Monad (when)
import Control.Monad.Aff (Aff(), runAff)
import Control.Monad.Aff.AVar (AVAR())
import Control.Monad.Eff (Eff())
import Control.Monad.Eff.Random (random, RANDOM())
import Control.Monad.Eff.Ref (Ref(), REF(), readRef, writeRef, modifyRef)
import Control.Monad.Aff (Aff, runAff)
import Control.Monad.Aff.AVar (AVAR)
import Control.Monad.Eff (Eff)
import Control.Monad.Eff.Random (random, RANDOM)
import Control.Monad.Eff.Ref (Ref, REF, readRef, writeRef, modifyRef)

import Data.Date (nowEpochMilliseconds, Now())
import Data.Date (nowEpochMilliseconds, Now)
import Data.Foldable (traverse_)
import Data.Functor (($>))
import Data.Maybe (Maybe(..), maybe)
import Data.NaturalTransformation (Natural())
import Data.StrMap (StrMap())
import Data.NaturalTransformation (Natural)
import Data.StrMap (StrMap)
import Data.StrMap as Sm
import Data.Time (Milliseconds(..))

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

import Halogen as H
import Halogen.HTML.Indexed as HH
Expand All @@ -38,7 +38,7 @@ import Ace.Editor as Editor
import Ace.EditSession as Session
import Ace.Ext.LanguageTools as LanguageTools
import Ace.Ext.LanguageTools.Completer as Completer
import Ace.Types (Editor(), Completion(), Position(), EditSession(), ACE())
import Ace.Types (Editor, Completion, Position, EditSession, ACE)

-- | Effectful knot of autocomplete functions. It's needed because
-- | `languageTools.addCompleter` is global and adds completer to
Expand Down

0 comments on commit b9cb64c

Please sign in to comment.