Skip to content

Commit

Permalink
add spago.yaml (#89)
Browse files Browse the repository at this point in the history
* add spago.yaml

* only ignore contracts/src
  • Loading branch information
martyall authored Jan 2, 2025
1 parent 0529c4f commit 12ddba3
Show file tree
Hide file tree
Showing 9 changed files with 218 additions and 248 deletions.
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/bower_components/
/node_modules/
/.pulp-cache/
/output/
/generated-docs/
/.psc*
/.purs*
/.psa*
/contracts/
/contracts/src
package-lock.json
/.spago/
.vscode
spago.lock
.spec-results
12 changes: 12 additions & 0 deletions contracts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

bower_components/
node_modules/
.pulp-cache/
output/
output-es/
generated-docs/
.psc-package/
.psc*
.purs*
.psa*
.spago
33 changes: 33 additions & 0 deletions contracts/spago.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package:
name: contracts
dependencies:
- web3
workspace:
extraPackages:
eth-core:
git: https://github.com/f-o-a-m/purescript-eth-core
ref: 3db27d22f738498a1e4263f537cd25279fc88088
coroutine-transducers:
dependencies:
- aff
- console
- coroutines
- effect
- either
- foldable-traversable
- freet
- functors
- maybe
- newtype
- parallel
- prelude
- psci-support
- tailrec
- transformers
- tuples
git: https://github.com/martyall/purescript-coroutine-transducers
ref: v1.0.0
web3:
git: https://github.com/f-o-a-m/purescript-web3.git
ref: bd87cd18adb863cfccdfe5ff263a129c02f1c8c2

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "spago build",
"test": "rm -rf contracts; spago -x test.dhall test; spago -x test.dhall build",
"test": "rm -rf contracts/src; spago test; cd contracts; spago build",
"tidy": "purs-tidy format-in-place \"src/**/*.purs\" \"test/**/*.purs\" \"example/**/*.purs\"",
"tidy-check": "purs-tidy check \"src/**/*.purs\" \"test/**/*.purs\" \"example/**/*.purs\""
},
Expand All @@ -16,6 +16,6 @@
"purescript": "^0.15.8",
"purescript-psa": "^0.8.2",
"purs-tidy": "^0.10.0",
"spago": "^0.20.9"
"spago": "next"
}
}
158 changes: 0 additions & 158 deletions packages.dhall

This file was deleted.

43 changes: 0 additions & 43 deletions spago.dhall

This file was deleted.

Loading

0 comments on commit 12ddba3

Please sign in to comment.