chore: fix test scripts and update test documents (#178)

* chore: fix test scripts and update test documents

* docs: redirect developer who want to build and test to the contributing guide

* dev: change wording
This commit is contained in:
Myriad-Dreamin 2024-04-09 12:37:01 +08:00 committed by GitHub
parent da70c0d31c
commit 59ca5bdabc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 45 additions and 2 deletions

View file

@ -1,4 +1,8 @@
$InstallPath = ".\editors\vscode\out"
if (-Not (Test-Path $InstallPath)) {
New-Item -ItemType Directory $InstallPath
}
cargo build --release --bin tinymist
Copy-Item -Path ".\target\release\tinymist.exe" -Destination ".\editors\vscode\out\tinymist.exe" -Force
Copy-Item -Path ".\target\release\tinymist.exe" -Destination "$InstallPath\tinymist.exe" -Force
cargo insta test -p tests --accept

View file

@ -1,3 +1,4 @@
mkdir -p editors/vscode/out/
cargo build --release --bin tinymist
cp target/release/tinymist editors/vscode/out/tinymist
cargo insta test -p tests --accept