@echo on
setlocal

@rem set variables
call "..\signing\set_sign_tools.cmd"
@if not "%errorlevel%"=="0" goto end

@rem run INF checker
@if EXIST driver_package (
	cmd /c %SIGNTOOLS%\ChkInf\chkinf.bat "driver_package\debug\*.inf" "driver_package\release\*.inf" /A /B
)

@if EXIST driver_package_unsigned (
	cmd /c %SIGNTOOLS%\ChkInf\chkinf.bat "driver_package_unsigned\debug\*.inf" "driver_package_unsigned\release\*.inf" /A /B
)


:end
endlocal
