Remove redundant scripts

This commit is contained in:
Connor Yoh 2025-07-01 16:21:44 +01:00
parent 4c5ddd6cce
commit 1e626eed97
2 changed files with 0 additions and 59 deletions

View File

@ -1,28 +0,0 @@
@echo off
echo 🔨 Building Stirling PDF with Tauri integration...
REM Build the Java backend
echo 📦 Building Java backend...
call gradlew.bat bootJar
if %ERRORLEVEL% neq 0 (
echo ❌ Failed to build Java backend
exit /b 1
)
echo ✅ Java backend built successfully
REM Copy the JAR to Tauri resources
echo 📋 Copying JAR file to Tauri resources...
if not exist "frontend\src-tauri\libs" mkdir frontend\src-tauri\libs
copy "build\libs\Stirling-PDF-*.jar" "frontend\src-tauri\libs\"
if %ERRORLEVEL% neq 0 (
echo ❌ Failed to copy JAR file
exit /b 1
)
echo ✅ JAR copied successfully
REM Navigate to frontend and run Tauri
echo 🚀 Starting Tauri development server...
cd frontend
npx tauri dev

View File

@ -1,31 +0,0 @@
#!/bin/bash
echo "🔨 Building Stirling PDF with Tauri integration..."
# Build the Java backend
echo "📦 Building Java backend..."
./gradlew bootJar
if [ $? -ne 0 ]; then
echo "❌ Failed to build Java backend"
exit 1
fi
echo "✅ Java backend built successfully"
# Copy the JAR to Tauri resources
echo "📋 Copying JAR file to Tauri resources..."
mkdir -p frontend/src-tauri/libs
cp build/libs/Stirling-PDF-*.jar frontend/src-tauri/libs/
if [ $? -eq 0 ]; then
echo "✅ JAR copied successfully"
else
echo "❌ Failed to copy JAR file"
exit 1
fi
# Navigate to frontend and run Tauri
echo "🚀 Starting Tauri development server..."
cd frontend
npm run tauri dev