-
Notifications
You must be signed in to change notification settings - Fork 1
/
vet_all.bat
34 lines (32 loc) · 1.11 KB
/
vet_all.bat
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
@ECHO OFF
ECHO This script will vet all packages in this project
ECHO Vetting main package
go vet rloop/Go-Ground-Station/ 2> vet_results.txt
CALL :CheckError
ECHO Vetting constants package
go vet rloop/Go-Ground-Station/constants 2>> vet_results.txt
CALL :CheckError
ECHO Vetting datastore package
go vet rloop/Go-Ground-Station/datastore 2>> vet_results.txt
CALL :CheckError
ECHO Vetting gsgrpc package
go vet rloop/Go-Ground-Station/gsgrpc 2>> vet_results.txt
CALL :CheckError
ECHO Vetting gstypes package
go vet rloop/Go-Ground-Station/gstypes 2>> vet_results.txt
CALL :CheckError
ECHO Vetting helpers package
go vet rloop/Go-Ground-Station/helpers 2>> vet_results.txt
CALL :CheckError
ECHO Vetting logging package
go vet rloop/Go-Ground-Station/logging 2>> vet_results.txt
CALL :CheckError
ECHO Vetting parsing package
go vet rloop/Go-Ground-Station/parsing 2>> vet_results.txt
CALL :CheckError
ECHO Vetting server package
go vet rloop/Go-Ground-Station/server 2>> vet_results.txt
CALL :CheckError
EXIT /B %ERRORLEVEL%
:CheckError
if %errorlevel% equ 0 ( echo No warnings found ) else ( echo warnings found and written to file )