summaryrefslogtreecommitdiff
path: root/scripts/dev/deploy.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dev/deploy.ps1')
-rw-r--r--scripts/dev/deploy.ps132
1 files changed, 16 insertions, 16 deletions
diff --git a/scripts/dev/deploy.ps1 b/scripts/dev/deploy.ps1
index 5332f1d..9774b75 100644
--- a/scripts/dev/deploy.ps1
+++ b/scripts/dev/deploy.ps1
@@ -35,22 +35,6 @@ if (-not (Test-Path $coreLibPath)) {
exit 1
}
-# Test core library
-Write-Host "Testing Core Library `".\..\VersionControl\Cargo.toml`""
-cargo test --manifest-path ..\VersionControl\Cargo.toml --workspace --quiet > $null 2>&1
-if ($LASTEXITCODE -ne 0) {
- Write-Warning "Core library tests failed. Aborting build."
- exit 1
-}
-
-# Test workspace
-Write-Host "Testing Command Line `".\Cargo.toml`""
-cargo test --workspace --quiet > $null 2>&1
-if ($LASTEXITCODE -ne 0) {
- Write-Warning "Workspace tests failed. Aborting build."
- exit 1
-}
-
# Check if main git worktree is clean
$gitStatus = git status --porcelain
if ($gitStatus) {
@@ -67,6 +51,22 @@ if ($coreGitStatus) {
exit 1
}
+# Test core library
+Write-Host "Testing Core Library `".\..\VersionControl\Cargo.toml`""
+cargo test --manifest-path ..\VersionControl\Cargo.toml --workspace --quiet > $null 2>&1
+if ($LASTEXITCODE -ne 0) {
+ Write-Warning "Core library tests failed. Aborting build."
+ exit 1
+}
+
+# Test workspace
+Write-Host "Testing Command Line `".\Cargo.toml`""
+cargo test --workspace --quiet > $null 2>&1
+if ($LASTEXITCODE -ne 0) {
+ Write-Warning "Workspace tests failed. Aborting build."
+ exit 1
+}
+
# Build
$env:FORCE_BUILD=$(Get-Date -Format 'mmss')
Write-Host "Building Command Line `".\Cargo.toml`""