-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
54 lines (44 loc) · 1.14 KB
/
Taskfile.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3'
env:
ENV: local
dotenv: ['.env', '.env.{{.ENV}}']
tasks:
default:
cmds:
- task --list-all
anvil:
cmds:
- anvil --block-time 10
assets-deploy:
dir: assets
cmds:
- aws s3 sync . {{.ASSETS_S3}}/rochers --exclude "*" --include "*.png" --include "*.json"
contracts-build:
dir: contracts
cmds:
- forge fmt
- forge build
contracts-test:
dir: contracts
cmds:
- forge test -vvv --gas-report
contracts-deploy:
dir: script
cmds:
- forge script --rpc-url {{.RPC_URL}}
--account {{.KEYSTORE_ACCOUNT}}
--sender {{.PUBLIC_KEY}}
--broadcast
--password-file "../.password"
--legacy
DeployRocher
mint:
dir: script
cmds:
- forge script --rpc-url {{.RPC_URL}}
--account {{.KEYSTORE_ACCOUNT}}
--sender {{.PUBLIC_KEY}}
--broadcast
--password-file "../.password"
--legacy
Interactions.s.sol:MintRocherNft