Skip to content

Commit

Permalink
build: ses vs cannot delete... WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Mar 12, 2024
1 parent cdbbc76 commit 9bc9eb9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 22 deletions.
37 changes: 16 additions & 21 deletions contract/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,32 +68,27 @@ print-key: /root/.agoric/user1.key
@agd keys show user1 -a --keyring-backend="test"
@echo

start-contract: start-sell-tickets-contract start-postal-service-contract
start-contract: start-contract-mint start-contract-swap start-contract-pay

start-sell-tickets-contract:
yarn node ./scripts/deploy-contract.js --service . \
start-contract-mint: doctor
yarn node scripts/deploy-contract.js \
--install src/sell-concert-tickets.contract.js \
--evals ./src/platform-goals/board-aux.core.js \
./src/sell-concert-tickets.proposal.js
--evals src/platform-goals/board-aux.core.js \
src/sell-concert-tickets.proposal.js

start-postal-service-contract:
yarn node ./scripts/deploy-contract.js --service . \
--install src/postal-service.contract.js \
--evals ./src/postal-service.proposal.js
doctor:
yarn node --version

# bundle-X.json.installed show that bundle-X.json was installed
# see also e2e-tools.js
%.json.installed: %.json
@echo 1
start-contract-swap:
yarn node scripts/deploy-contract.js \
--install src/swaparoo.contract.js \
--evals src/swaparoo.proposal.js

# X.js.done shows that X.js core eval ran
%.js.done: %.js
@echo 1
start-contract-pay:
yarn node scripts/deploy-contract.js \
--install src/postal-service.contract.js \
--evals src/postal-service.proposal.js

# Dependencies to re-run core eval when source changes
# NOTE: manually updated
bundles/deploy-send.js: src/start-postalSvc.js
@echo 1

clean:
@rm -rf $(SCRIPT) $(PERMIT) bundles/
@rm -rf bundles/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"resolutions-note": "work-around for https://github.com/Agoric/agoric-sdk/issues/8621",
"resolutions": {
"ses": "0.18.4",
"ses": "1.3.0",
"@agoric/assert": "0.6.1-u11wf.0",
"@agoric/ertp": "0.16.3-u14.0",
"@agoric/store": "0.9.3-u14.0",
Expand Down

0 comments on commit 9bc9eb9

Please sign in to comment.