-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from onflow/stable-cadence-refactor
NFTStorefront v1 & v2 Cadence 1.0 Refactor
- Loading branch information
Showing
79 changed files
with
5,241 additions
and
10,799 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
lib/js/test/node_modules/* | ||
lib/js/test/node_modules/* | ||
.idea | ||
coverage.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
.PHONY: update-mainnet | ||
update-mainnet: | ||
$(MAKE) flow accounts update-contract NFTStorefrontV2 ./contracts/NFTStorefrontV2.cdc --signer mainnet-account --network mainnet -f ./flow.mainnet.json | ||
|
||
.PHONY: update-testnet | ||
update-testnet: | ||
$(MAKE) flow accounts update-contract NFTStorefrontV2 ./contracts/NFTStorefrontV2.cdc --signer testnet-account --network testnet -f ./flow.testnet.json | ||
|
||
.PHONY: test | ||
test: | ||
$(MAKE) generate -C lib/go | ||
$(MAKE) test -C lib/go | ||
flow-c1 test --cover --covercode="contracts" tests/*.cdc | ||
|
||
.PHONY: ci | ||
ci: | ||
$(MAKE) ci -C lib/go | ||
|
||
.PHONY: update-mainnet | ||
update-mainnet: | ||
$(MAKE) flow accounts update-contract NFTStorefrontV2 ./contracts/NFTStorefrontV2.cdc --signer mainnet-account --network mainnet -f ./flow.mainnet.json | ||
|
||
.PHONY: update-testnet | ||
update-testnet: | ||
$(MAKE) flow accounts update-contract NFTStorefrontV2 ./contracts/NFTStorefrontV2.cdc --signer testnet-account --network testnet -f ./flow.testnet.json | ||
flow-c1 test --cover --covercode="contracts" tests/*.cdc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.