File tree Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 1+ .PHONY : devlinux devmac vm install fmt test
2+ devlinux :
3+ @echo " KAGARI_LIB_ROOT=$( pwd) /planglib" >> ~/.bashrc
4+ @echo " PL_ROOT=$( pwd) /target/release/" >> ~/.bashrc
5+ @echo " 请重启终端和vsc应用更改"
6+
7+ devmac :
8+ @echo " KAGARI_LIB_ROOT=$( pwd) /planglib" >> ~/.bash_profile
9+ @echo " PL_ROOT=$( pwd) /target/release/" >> ~/.bash_profile
10+ @echo " 请重启终端和vsc应用更改"
11+
12+ vm :
13+ @cd vm && cargo build --release
14+
15+ install :
16+ @cargo install --path=.
17+
18+ fmt :
19+ @cargo +stable fmt
20+
21+ test :
22+ @cargo test --all
Original file line number Diff line number Diff line change @@ -26,11 +26,7 @@ https://lang.pivotstudio.cn
2626- [ llvm-14] ( https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.6 )
2727- [ rust] ( https://www.rust-lang.org/ )
2828
29- ** 重要** :如果你想参与开发,请先使用release模式编译项目的vm目录,然后在你的` ~/.bashrc ` 或者` ~/.bash_profile ` 中添加如下代码:
30-
31- ``` bash
32- export KAGARI_LIB_ROOT=< pivot-lang project path> /planglib
33- ```
29+ ** 重要** :如果你想参与开发,请先在项目目录` make vm install ` ,然后根据自己是linux还是mac运行` make devlinux ` 或者` make devmac `
3430
3531## 特点
3632- 同时支持aot和jit两种模式
You can’t perform that action at this time.
0 commit comments