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 #13 from srghma/master
Browse files Browse the repository at this point in the history
update to argonaut 7 and affjax 11
  • Loading branch information
cryogenian authored Nov 19, 2020
2 parents 0e29451 + 8e3918f commit af9a883
Show file tree
Hide file tree
Showing 14 changed files with 414 additions and 350 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ sudo: required
node_js: stable
install:
- npm install
- npm install -g bower
- bower install --production
- npm install -g spago
- spago install
script:
- npm run -s build
after_success:
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"vendor"
],
"dependencies": {
"purescript-affjax": "^9.0.0",
"purescript-argonaut-codecs": "^6.0.0",
"purescript-affjax": "^11.0.0",
"purescript-argonaut-codecs": "^7.0.0",
"purescript-argonaut-core": "^5.0.0",
"purescript-css": "^4.0.0",
"purescript-node-fs-aff": "^6.0.0",
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"name": "purescript-lunapark",
"private": true,
"scripts": {
"build": "pulp build -- --strict --stash",
"build:non-strict": "pulp build",
"build": "spago build --purs-args '--censor-lib --strict'",
"build:non-strict": "spago build",
"ide": "purs ide server"
},
"license": "Apache-2.0",
"dependencies": {
"chromedriver": "^2.37.0",
"pulp": "^12.2.0",
"purescript": "^0.12.3",
"purescript-psa": "^0.7.3",
"xhr2": "^0.1.4"
"chromedriver": "^86.0.0",
"pulp": "^15.0.0",
"purescript": "^0.13.8",
"purescript-psa": "^0.8.0",
"xhr2": "^0.2.0"
}
}
4 changes: 4 additions & 0 deletions packages.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.13.8-20201021/packages.dhall sha256:55ebdbda1bd6ede4d5307fbc1ef19988c80271b4225d833c8d6fb9b6fb1aa6d8

in upstream
15 changes: 15 additions & 0 deletions spago.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{ name = "lunapark"
, dependencies =
[ "argonaut-core"
, "argonaut-codecs"
, "affjax"
, "console"
, "css"
, "effect"
, "node-fs-aff"
, "psci-support"
, "run"
]
, packages = ./packages.dhall
, sources = [ "src/**/*.purs" ]
}
10 changes: 6 additions & 4 deletions src/Lunapark.purs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ module Lunapark
, module Lunapark.Error
, module Lunapark.ActionF
, module Lunapark.LunaparkF
, module Lunapark.WebDriverError
) where


import Lunapark.API (Interpreter(..), runInterpreter, BaseRun, HandleLunaparkInput, Lunapark, handleLunapark, init, interpret, interpretW3CActions, jsonWireActions, runLunapark, runLunaparkActions, w3cActions)
import Lunapark.Error (Error, ErrorType(..), fromJson, fromStringCode, toStringCode, unknownError)
import Lunapark.ActionF (ActionF(..), LUNAPARK_ACTIONS, TouchF(..), WithAction, _lunaparkActions, buttonDown, buttonUp, click, doubleClick, doubleTap, flick, liftAction, longTap, moveTo, pause, scroll, sendKeys, tap, touchDown, touchUp)
import Lunapark.LunaparkF (ElementF(..), LUNAPARK, LunaparkF(..), WithLunapark, _lunapark, acceptAlert, addCookie, back, childElement, childElements, clearElement, clickElement, closeWindow, deleteAllCookies, deleteCookie, dismissAlert, elementScreenshot, executeScript, executeScriptAsync, findElement, findElements, forward, fullscreenWindow, getAlertText, getAllCookies, getAttribute, getCookie, getCss, getProperty, getRectangle, getTagName, getText, getTimeouts, getTitle, getUrl, getWindowHandle, getWindowHandles, getWindowRectangle, go, isDisplayed, isEnabled, isSelected, liftLunapark, maximizeWindow, minimizeWindow, performActions, quit, refresh, releaseActions, screenshot, sendAlertText, sendKeysElement, setTimeouts, setWindowRectangle, status, submitElement, switchToFrame, switchToParentFrame, switchToWindow)
import Lunapark.API (Lunapark, Interpreter(..), runInterpreter, BaseEffects, HandleLunaparkInput, handleLunapark, init, interpret, interpretW3CActions, jsonWireActions, runLunapark, runLunaparkActions, w3cActions)
import Lunapark.Error (Error(..), CachingError(..), printError)
import Lunapark.ActionF (ActionF(..), LUNAPARK_ACTIONS, TouchF(..), ActionsEffect, _lunaparkActions, buttonDown, buttonUp, click, doubleClick, doubleTap, flick, liftAction, longTap, moveTo, pause, scroll, sendKeys, tap, touchDown, touchUp)
import Lunapark.LunaparkF (ElementF(..), LUNAPARK, LunaparkF(..), LunaparkEffect, _lunapark, acceptAlert, addCookie, back, childElement, childElements, clearElement, clickElement, closeWindow, deleteAllCookies, deleteCookie, dismissAlert, elementScreenshot, executeScript, executeScriptAsync, findElement, findElements, forward, fullscreenWindow, getAlertText, getAllCookies, getAttribute, getCookie, getCss, getProperty, getRectangle, getTagName, getText, getTimeouts, getTitle, getUrl, getWindowHandle, getWindowHandles, getWindowRectangle, go, isDisplayed, isEnabled, isSelected, liftLunapark, maximizeWindow, minimizeWindow, performActions, quit, refresh, releaseActions, screenshot, sendAlertText, sendKeysElement, setTimeouts, setWindowRectangle, status, submitElement, switchToFrame, switchToParentFrame, switchToWindow)
import Lunapark.WebDriverError (WebDriverError, WebDriverErrorType(..), fromJson, fromStringCode, toStringCode)
Loading

0 comments on commit af9a883

Please sign in to comment.