[FIX] Uge session of debugging and code coverage.
This commit is contained in:
+1
-3
@@ -35,8 +35,6 @@ cd $DEPLOY_DIR/partitions
|
||||
rm -rf build
|
||||
npm run build
|
||||
|
||||
# Copy .mjs to .js for correct MIME type
|
||||
cp build/pdf.worker.min.mjs build/pdf.worker.min.js 2>/dev/null || echo "pdf.worker.min.mjs not found"
|
||||
cd ../..
|
||||
|
||||
# 5. Copy built frontend as 'frontend' directory (not symlink, for zip compatibility)
|
||||
@@ -50,7 +48,7 @@ cp partitions/nginx.conf $DEPLOY_DIR/frontend/nginx.conf 2>/dev/null || echo "ng
|
||||
# 7. Create zip (without tests.php and legacy)
|
||||
echo "[7/8] Creating zip..."
|
||||
cd $DEPLOY_DIR
|
||||
zip -r ../_builds/deploy_ohmj.zip api frontend -x "*.DS_Store" "node_modules/*" ".svelte-kit/*" "api/tests.php"
|
||||
zip -r ../_builds/deploy_ohmj.zip api frontend -x "*.DS_Store" "node_modules/*" ".svelte-kit/*" "api/tests.php" "api/coverage-prepend.php" "api/coverage-report.php"
|
||||
|
||||
# 8. Cleanup
|
||||
echo "[8/8] Cleaning up..."
|
||||
|
||||
Reference in New Issue
Block a user