diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-07 02:25:27 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-07 02:25:27 +0800 |
| commit | 81528b273c18693ebd3f05c6f8057ff8e632f4a0 (patch) | |
| tree | 85026c27535337c0123d4650c844ae364bc9780a /dev_tools | |
| parent | e41e8bda221b44d09d7e93ffc43675147ab60a6d (diff) | |
Refactor mling to use new program architecture and install scripts
Diffstat (limited to 'dev_tools')
| -rwxr-xr-x | dev_tools/scripts/install-mling.ps1 | 7 | ||||
| -rwxr-xr-x | dev_tools/scripts/install-mling.sh | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/dev_tools/scripts/install-mling.ps1 b/dev_tools/scripts/install-mling.ps1 new file mode 100755 index 0000000..bebe9ff --- /dev/null +++ b/dev_tools/scripts/install-mling.ps1 @@ -0,0 +1,7 @@ +cargo install --path mling + +New-Item -ItemType Directory -Force -Path .temp/comp | Out-Null +# Copy all files containing _comp from the debug directory +Get-ChildItem .temp/target/release/*_comp* | ForEach-Object { + Copy-Item $_.FullName .temp/comp/ +} diff --git a/dev_tools/scripts/install-mling.sh b/dev_tools/scripts/install-mling.sh new file mode 100755 index 0000000..5f2ee7a --- /dev/null +++ b/dev_tools/scripts/install-mling.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +cargo install --path mling + +mkdir -p .temp/comp +cp .temp/target/release/*_comp.* .temp/comp/ 2>/dev/null || echo "No matching files found" |
