-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalidate-submission.bat
More file actions
69 lines (59 loc) · 1.78 KB
/
Copy pathvalidate-submission.bat
File metadata and controls
69 lines (59 loc) · 1.78 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@echo off
echo ========================================
echo Socket Programming Assignment Validation
echo ========================================
echo.
echo Checking repository status...
git status
echo.
echo Checking recent commits...
git log --oneline -10
echo.
echo Validating project structure...
if exist "task1-hostname-converter\src\HostnameToIP.java" (
echo ✓ Task 1 source file found
) else (
echo ✗ Task 1 source file missing
)
if exist "task2-ping-pong\src\server\PingPongServer.java" (
echo ✓ Task 2 server file found
) else (
echo ✗ Task 2 server file missing
)
if exist "task2-ping-pong\src\client\PingPongClient.java" (
echo ✓ Task 2 client file found
) else (
echo ✗ Task 2 client file missing
)
if exist "task3-uppercase-converter\src\server\UppercaseServer.java" (
echo ✓ Task 3 server file found
) else (
echo ✗ Task 3 server file missing
)
if exist "task3-uppercase-converter\src\client\UppercaseClient.java" (
echo ✓ Task 3 client file found
) else (
echo ✗ Task 3 client file missing
)
echo.
echo Checking documentation...
if exist "README.md" echo ✓ Main README found
if exist "docs\compilation-guide.md" echo ✓ Compilation guide found
if exist "docs\troubleshooting.md" echo ✓ Troubleshooting guide found
if exist "docs\examples.md" echo ✓ Examples documentation found
if exist "CHANGELOG.md" echo ✓ Changelog found
if exist "DELIVERY.md" echo ✓ Delivery documentation found
echo.
echo Testing compilation...
call compile-all.bat
if %errorlevel% equ 0 (
echo ✓ All tasks compiled successfully
) else (
echo ✗ Compilation errors detected
)
echo.
echo ========================================
echo Validation completed
echo Repository ready for submission
echo ========================================
pause