-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.bat
32 lines (25 loc) · 1.17 KB
/
build.bat
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
@REM BabelNAR CLI 轻量级发行版
@REM * 将BabelNAR CLI、预设好的可执行文件和指定CIN集成在一个目录下
@REM * 可实现「一次打包,到处解压,双击运行」
@echo off
@REM 构建BabelNAR CLI(基于cargo)
cargo b -r
@REM 重置dist文件夹
rm -rf dist
mkdir .\dist
@REM ==拷贝各个文件到指定目录== REM@
@REM 公共配置
xcopy /E /I .\config_public .\dist\nars_config
@REM 拷贝BabelNAR CLI
copy .\target\release\babel_nar_cli.exe .\dist\babelnar_cli.exe
@REM 拷贝指定的可执行文件
xcopy /E /I .\executables\PyNARS .\dist\executables\PyNARS
copy .\executables\cxin-nars-shell.js .\dist\executables\cxin-nars-shell.js
copy .\executables\native-IL-1.exe .\dist\executables\native-IL-1.exe
copy .\executables\ONA.exe .\dist\executables\ONA.exe
copy .\executables\opennars-158-shell.jar .\dist\executables\opennars-158-shell.jar
copy .\executables\opennars-304-T-modified.jar .\dist\executables\opennars-304-T-modified.jar
copy .\executables\opennars-matriangle-test.log.json .\dist\executables\opennars-matriangle-test.log.json
copy .\executables\narust_158_batch.exe .\dist\executables\narust_158_batch.exe
echo Build Successfull!
sleep 1