Closed nilp0inter closed 3 years ago
Answering my own question. I managed to set a spago
project that uses this library.
First I modified packages.dhall
to add an external dependency, as is explained here https://github.com/purescript/spago#add-a-package-to-the-package-set. The contents of the file now looks like this:
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.14.0-20210318/packages.dhall sha256:98bbacd65191cef354ecbafa1610be13e183ee130491ab9c0ef6e3d606f781b5
in upstream
with purescript-google-appsscript =
{ dependencies =
[ "console"
, "functions"
, "foreign"
, "foreign-object"
, "nullable"
, "options"
]
, repo =
"https://github.com/kika/purescript-google-appsscript.git"
, version =
"master" -- branch, tag, or commit hash
}
Second, I added the dependency via spago install
:
$ spago install purescript-google-appsscript
Hi,
I am new to Purescript and I'd like to experiment on writing some GAS with Purescript. This library seems like a good fit, but I am a bit lost on how to install it.
Could it be installed via
spago
? Maybe copying it into my project?Thanks!