Skip to content

Commit

Permalink
Merge pull request #16 from JordanMartinez/updateTo14
Browse files Browse the repository at this point in the history
Update to v0.14.0-rc2
  • Loading branch information
hdgarrood authored Oct 10, 2020
2 parents daf8a44 + 5557dc8 commit 59044bb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ node_js: stable
env:
- PATH=$HOME/purescript:$PATH
install:
- TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
# - TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
- TAG=v0.14.0-rc2
- curl --location --output $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
- chmod a+x $HOME/purescript
Expand Down
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"package.json"
],
"dependencies": {
"purescript-effect": "^2.0.0",
"purescript-console": "^4.0.0",
"purescript-prelude": "^4.0.0"
"purescript-effect": "master",
"purescript-console": "master",
"purescript-prelude": "master"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"devDependencies": {
"eslint": "^4.19.1",
"pulp": "^15.0.0",
"purescript-psa": "^0.6.0",
"purescript-psa": "^0.8.0",
"rimraf": "^2.6.2"
}
}
3 changes: 1 addition & 2 deletions src/Test/Assert.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
"use strict";

exports["assert'"] = function (message) {
exports.assertImpl = function (message) {
return function (success) {
return function () {
if (!success) throw new Error(message);
return {};
};
};
};
Expand Down
5 changes: 4 additions & 1 deletion src/Test/Assert.purs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ assert = assert' "Assertion failed"

-- | Throws a runtime exception with the specified message when the boolean
-- | value is false.
foreign import assert'
assert' :: String -> Boolean -> Effect Unit
assert' = assertImpl

foreign import assertImpl
:: String
-> Boolean
-> Effect Unit
Expand Down

0 comments on commit 59044bb

Please sign in to comment.