-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.toml
44 lines (37 loc) · 962 Bytes
/
Makefile.toml
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
[config]
default_to_workspace = false
skip_core_tasks = true
[env]
RUST_TEST_NOCAPTURE=1
[tasks.build]
run_task = [
{name = "build-development", condition = {profiles = ["development"]}},
{name = "build-production", condition = {profiles = ["production"]}},
]
[tasks.build-development]
args = ["build"]
command = "anchor"
[tasks.build-production]
args = ["build", "--verifiable"]
command = "anchor"
# Expects a localnet task to be running in background
[tasks.test]
args = ["test", "--test", "token"]
command = "cargo"
[tasks.localnet-reset]
args = [
"--bpf-program",
"Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS",
"target/deploy/account_history_program.so",
"--reset",
]
command = "solana-test-validator"
dependencies = ["build"]
[tasks.localnet]
args = [
"--bpf-program",
"Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS",
"target/deploy/account_history_program.so",
]
command = "solana-test-validator"
dependencies = ["build"]