File tree Expand file tree Collapse file tree 5 files changed +33
-1
lines changed Expand file tree Collapse file tree 5 files changed +33
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # This script is just for reference, I have essentially copied it into the OpenAI Codex
4
+ # Azle environment Setup script
5
+
6
+ echo " Installing dfx $DFX_VERSION "
7
+
8
+ DFX_VERSION=" $( jq -r ' .azle.globalDependencies.dfx // empty' package.json) "
9
+ ./src/stable/build/commands/dev/setup/install_dfx.sh " $DFX_VERSION "
10
+ export PATH=" $HOME /.local/share/dfx/bin:$PATH "
11
+
12
+ echo " npm install and link at the root of the azle repo"
13
+
14
+ npm install
15
+ npm link
16
+
17
+ echo " Setting up azle dev environment"
18
+
19
+ npx azle dev setup --rust --cargo-auditable --cargo-bundle-licenses --wasi2ic
20
+
21
+ echo " Starting dfx in the background"
22
+
23
+ dfx start --clean --background --artificial-delay 0
24
+
25
+ echo " Running one basic test"
26
+
27
+ cd examples/stable/test/end_to_end/candid_rpc/async_await
28
+ npm install
29
+ npm link azle
30
+ AZLE_VERBOSE=true AZLE_DEV_TEMPLATE=true npm test
31
+
32
+ echo " Setup completed successfully"
File renamed without changes.
Original file line number Diff line number Diff line change 87
87
},
88
88
"azle" : {
89
89
"globalDependencies" : {
90
- "dfx" : " 0.29.0 " ,
90
+ "dfx" : " 0.29.1 " ,
91
91
"node" : " 22.18.0" ,
92
92
"rust" : " 1.89.0" ,
93
93
"cargo-auditable" : " 0.7.0" ,
You can’t perform that action at this time.
0 commit comments