mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-07-27 15:45:21 +00:00
Remove redundant scripts
This commit is contained in:
parent
4c5ddd6cce
commit
1e626eed97
@ -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
|
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user