Skip to content

Commit 12ddba3

Browse files
authored
add spago.yaml (#89)
* add spago.yaml * only ignore contracts/src
1 parent 0529c4f commit 12ddba3

File tree

9 files changed

+218
-248
lines changed

9 files changed

+218
-248
lines changed

.gitignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
/bower_components/
21
/node_modules/
3-
/.pulp-cache/
42
/output/
53
/generated-docs/
6-
/.psc*
7-
/.purs*
84
/.psa*
9-
/contracts/
5+
/contracts/src
106
package-lock.json
117
/.spago/
128
.vscode
9+
spago.lock
10+
.spec-results

contracts/.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
bower_components/
3+
node_modules/
4+
.pulp-cache/
5+
output/
6+
output-es/
7+
generated-docs/
8+
.psc-package/
9+
.psc*
10+
.purs*
11+
.psa*
12+
.spago

contracts/spago.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
package:
2+
name: contracts
3+
dependencies:
4+
- web3
5+
workspace:
6+
extraPackages:
7+
eth-core:
8+
git: https://github.com/f-o-a-m/purescript-eth-core
9+
ref: 3db27d22f738498a1e4263f537cd25279fc88088
10+
coroutine-transducers:
11+
dependencies:
12+
- aff
13+
- console
14+
- coroutines
15+
- effect
16+
- either
17+
- foldable-traversable
18+
- freet
19+
- functors
20+
- maybe
21+
- newtype
22+
- parallel
23+
- prelude
24+
- psci-support
25+
- tailrec
26+
- transformers
27+
- tuples
28+
git: https://github.com/martyall/purescript-coroutine-transducers
29+
ref: v1.0.0
30+
web3:
31+
git: https://github.com/f-o-a-m/purescript-web3.git
32+
ref: bd87cd18adb863cfccdfe5ff263a129c02f1c8c2
33+

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"scripts": {
44
"build": "spago build",
5-
"test": "rm -rf contracts; spago -x test.dhall test; spago -x test.dhall build",
5+
"test": "rm -rf contracts/src; spago test; cd contracts; spago build",
66
"tidy": "purs-tidy format-in-place \"src/**/*.purs\" \"test/**/*.purs\" \"example/**/*.purs\"",
77
"tidy-check": "purs-tidy check \"src/**/*.purs\" \"test/**/*.purs\" \"example/**/*.purs\""
88
},
@@ -16,6 +16,6 @@
1616
"purescript": "^0.15.8",
1717
"purescript-psa": "^0.8.2",
1818
"purs-tidy": "^0.10.0",
19-
"spago": "^0.20.9"
19+
"spago": "next"
2020
}
2121
}

packages.dhall

Lines changed: 0 additions & 158 deletions
This file was deleted.

spago.dhall

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)