-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.toml
45 lines (39 loc) · 1.22 KB
/
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
45
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
[tasks.cairo-setup]
workspace = false
description = "Set up the Cairo environment by running the setup script."
script = '''
echo "Setting up the environment..."
./scripts/setup_cairovm.sh
'''
[tasks.cairo1-setup]
workspace = false
description = "Set up the Cairo environment by running the setup script."
script = '''
echo "Setting up the environment..."
chmod +x ./scripts/cairo1_install.sh
./scripts/cairo1_install.sh
'''
[tasks.integration-test]
workspace = false
description = "Run integration tests. Specify the folder name through the INTEGRATION_ARGS environment variable."
script = '''
echo "Running integration tests with arguments: $INTEGRATION_ARGS"
chmod +x ./scripts/integration.sh
./scripts/integration.sh
'''
[tasks.reset-setup]
workspace = false
description = "Reset all setup and compiled files to their initial state."
script = '''
echo "Removing the setup and compiled files..."
rm -rf venv
rm -rf tools
'''
[tasks.run-full-flow]
workspace = false
description = "Execute the full integration test flow, including cloning, setup, compilation, and testing."
dependencies = ["cairo-setup", "cairo1-setup", "integration-test"]
[config]
unstable_features = ["CTRL_C_HANDLING"]