41 lines
1.1 KiB
Batchfile
41 lines
1.1 KiB
Batchfile
@echo off
|
|
echo ====================================
|
|
echo Project Migration Quick Check
|
|
echo ====================================
|
|
echo.
|
|
|
|
echo 1. Checking key files...
|
|
if exist "D:\project\go.mod" echo [OK] go.mod
|
|
if exist "D:\project\README.md" echo [OK] README.md
|
|
if exist "D:\project\cmd\server\main.go" echo [OK] main.go
|
|
if exist "D:\project\configs\config.yaml" echo [OK] config.yaml
|
|
echo.
|
|
|
|
echo 2. Checking Go environment...
|
|
where go >nul 2>&1
|
|
if %errorlevel% == 0 (
|
|
echo [OK] Go is installed
|
|
go version
|
|
) else (
|
|
echo [ERROR] Go is not installed
|
|
)
|
|
echo.
|
|
|
|
echo 3. Checking directories...
|
|
if exist "D:\project\cmd" echo [OK] cmd\
|
|
if exist "D:\project\internal" echo [OK] internal\
|
|
if exist "D:\project\configs" echo [OK] configs\
|
|
if exist "D:\project\docs" echo [OK] docs\
|
|
echo.
|
|
|
|
echo ====================================
|
|
echo Quick check completed!
|
|
echo ====================================
|
|
echo.
|
|
echo Next steps:
|
|
echo 1. Read docs\migration\MIGRATION_CHECKLIST.md for full checklist
|
|
echo 2. Read docs\plans\NEXT_STEPS.md for detailed instructions
|
|
echo 3. If Go is installed, run: go build ./cmd/server
|
|
echo.
|
|
pause
|