mirror of
https://github.com/WT810787899/YuChuan.git
synced 2026-12-05 16:01:48 +00:00
- 应用图标:由 icon.png 生成 Android 各密度 mipmap 与 Windows app_icon.ico, 生成脚本 scripts/gen_icons.py 可重复执行(不引入额外 pub 依赖) - README:重写为「功能 / 用途 / 截图」(原内容是无关的模板残留) - .gitignore:排除构建产物(build/、target/)、本地备份、过程文档、 图标设计源文件与历史截图
10 lines
497 B
PowerShell
10 lines
497 B
PowerShell
# Rust 核心层单元测试(T0.3 起每次改动 backend/ 后执行)
|
||
# PS 5.1 下 native 命令写 stderr 会被 $ErrorActionPreference='Stop' 当成终止错误
|
||
# (flutter/cargo 都会写 stderr),改为 Continue + 逐条检查 $LASTEXITCODE。
|
||
$ErrorActionPreference = 'Continue'
|
||
$root = Split-Path $PSScriptRoot -Parent
|
||
Set-Location "$root\rust_builder"
|
||
$env:PATH = "C:\Users\81078\.cargo\bin;" + $env:PATH
|
||
& cargo test @args
|
||
if ($LASTEXITCODE -ne 0) { throw 'cargo test failed' }
|