forked from ross-spencer/datum-demo-opshin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (20 loc) · 992 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.DEFAULT_GOAL := help
.PHONY: build-contract
build-contract: ## Build the Oracle smart contract.
opshin build spending contract.py
@cat build/contract/testnet.addr
@echo "";
lint-contract: ## Lint the smart contract.
opshin lint spending contract.py
deploy-contract: ## Deploy the Oracle smart contract.
python 01.deploy.py
deposit-funds: ## Deposit funds to be claimed.
python 02.deposit.py
claim-funds: ## Claim the deposited funds.
python 03.claim.py
undeploy-contract: ## Un-deploy the Oracle smart contract.
python 04.undeploy.py
refund-deposit: ## Refund deposited funds.
python 05.refund.py
help: ## Print this help message.
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'