-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathstart.bat
More file actions
30 lines (27 loc) · 799 Bytes
/
Copy pathstart.bat
File metadata and controls
30 lines (27 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@echo off
:: Check if Git is installed
where git >nul 2>nul
if %ERRORLEVEL% neq 0 (
echo Git is not installed. Skipping git pull.
) else (
:: Pull the latest changes from the currently checked-out branch
echo Pulling the latest changes from the remote branch...
git pull
if %ERRORLEVEL% neq 0 (
echo Failed to pull the latest changes. Please check your Git setup.
)
)
:: Install dependencies using pnpm
echo Installing dependencies...
pnpm install
if %ERRORLEVEL% neq 0 (
echo Dependency installation failed. Please check your pnpm setup.
exit /b 1
)
:: Run Tauri development server
echo Starting Tauri development server...
pnpm tauri dev
if %ERRORLEVEL% neq 0 (
echo Failed to start Tauri development server. Please check your setup.
exit /b 1
)