Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to spago-next #149

Merged
merged 4 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/test-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- name: build
run: |
npm install
npm run chanterelle-build
npm run build
working-directory: example
- name: lint
Expand Down
1 change: 1 addition & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
/.spago
src/Contract
build
.spec-results
7 changes: 0 additions & 7 deletions example/bootstrap.dhall

This file was deleted.

8 changes: 8 additions & 0 deletions example/build-contracts/spago.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package:
dependencies:
- chanterelle
name: build-contracts
run:
main: ChanterelleMain
execArgs:
- "build"
12 changes: 5 additions & 7 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,26 @@
"description": "Chanterell demo project",
"license": "ISC",
"scripts": {
"postinstall": "spago -x bootstrap.dhall build",
"chanterelle-build": "spago -x bootstrap.dhall run -m ChanterelleMain --node-args=\"build\"",
"postinstall": "spago run -p build-contracts",
"build": "spago build",
"test": "spago test",
"deploy": "spago run",
"deploy": "spago run -p deploy",
"tidy": "purs-tidy format-in-place \"src/**/*.purs\" \"test/**/*.purs\"",
"tidy-check": "purs-tidy check \"src/**/*.purs\" \"test/**/*.purs\""

},
"dependencies": {
"ethjs-provider-http": "^0.1.6",
"keccak": "^1.0.2",
"keccak": "^3.0.0",
"rlp": "^2.0.0",
"secp256k1": "^3.0.1"
"secp256k1": "^5.0.0"
},
"devDependencies": {
"mkdirp": "^0.5.1",
"openzeppelin-contracts": "^4.0.0",
"purescript": "^0.15.8",
"purescript-psa": "^0.8.2",
"purs-tidy": "^0.10.0",
"solc": "^0.8",
"spago": "^0.21.0"
"spago": "next"
}
}
1 change: 0 additions & 1 deletion example/packages.dhall

This file was deleted.

24 changes: 0 additions & 24 deletions example/spago.dhall

This file was deleted.

Loading
Loading