Skip to content

Commit

Permalink
Update for PureScript 0.14 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashoneyman authored Mar 4, 2021
1 parent b6ea549 commit eb0e183
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ sudo: required
node_js: stable
install:
- npm install -g yarn
- yarn global add purescript@^0.12.0 pulp@^12.3.0 bower purescript-psa@^0.6.0
- yarn global add purescript@^0.14.0 pulp@^15.0.0 bower purescript-psa@^0.8.2
- export PATH="$PATH:`yarn global bin`"
- bower install
script:
- pulp test --include examples
after_success:
- >-
test $TRAVIS_TAG &&
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push
- >-
test $TRAVIS_TAG &&
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push
18 changes: 9 additions & 9 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git://github.com/paulyoung/purescript-prettier-printer.git"
"url": "https://github.com/paulyoung/purescript-prettier-printer.git"
},
"ignore": [
"**/.*",
Expand All @@ -12,15 +12,15 @@
"output"
],
"dependencies": {
"purescript-prelude": "^4.0.0",
"purescript-console": "^4.0.0",
"purescript-lists": "^5.0.0",
"purescript-tuples": "^5.0.0"
"purescript-prelude": "^5.0.0",
"purescript-console": "^5.0.0",
"purescript-lists": "^6.0.0",
"purescript-tuples": "^6.0.0"
},
"devDependencies": {
"purescript-quickcheck": "^5.0.0",
"purescript-psci-support": "^4.0.0",
"purescript-spec": "^3.0.0",
"purescript-spec-discovery": "owickstrom/purescript-spec-discovery#a1a8dfd5fadb3f00199d68d20af4bbf56a048c6e"
"purescript-quickcheck": "^7.0.0",
"purescript-psci-support": "^5.0.0",
"purescript-spec": "^5.0.0",
"purescript-spec-discovery": "^6.0.0"
}
}
7 changes: 5 additions & 2 deletions test/Main.purs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ module Test.Main where
import Prelude

import Effect (Effect)
import Effect.Aff (launchAff_)
import Test.Spec.Discovery (discover)
import Test.Spec.Reporter.Console (consoleReporter)
import Test.Spec.Runner (run)
import Test.Spec.Runner (runSpec)

main :: Effect Unit
main = discover "Test\\.Prettier.Printer\\.*" >>= run [consoleReporter]
main = launchAff_ do
spec <- discover "Test\\.Prettier.Printer\\.*"
runSpec [consoleReporter] spec

0 comments on commit eb0e183

Please sign in to comment.