qpc/qpc_sha1.bat

43 lines
1.3 KiB
Batchfile
Raw Permalink Normal View History

2023-12-14 16:55:37 -05:00
@setlocal
set VERSION=8.0.1
2023-12-14 16:55:37 -05:00
:: usage
2024-07-19 19:25:12 -04:00
@echo Usage: qpc_sha1 [gen]
2023-12-14 16:55:37 -05:00
@echo examples:
@echo qpc_sha1 : check the sha1 sums in the file qpc_%VERSION%.sha1
@echo qpc_sha1 gen : generate the sha1 file qpc_%VERSION%.sha1
2023-12-14 16:55:37 -05:00
@echo.
2024-07-19 19:25:12 -04:00
@if NOT "%1"=="gen" (
sha1sum --check --warn qpc_%VERSION%.sha1
2024-07-19 19:25:12 -04:00
goto end
)
2023-12-14 16:55:37 -05:00
@echo generating qpc_%VERSION%.sha1...
2024-07-19 19:25:12 -04:00
@sha1sum qpc.qm ^
2023-12-14 16:55:37 -05:00
include/* ^
src/qf/* src/qk/* src/qs/* src/qv/* src/qxk/* ^
ports/arm-cm/qk/armclang/* ports/arm-cm/qk/config/* ports/arm-cm/qk/gnu/* ports/arm-cm/qk/iar/* ^
ports/arm-cm/qv/armclang/* ports/arm-cm/qv/config/* ports/arm-cm/qv/gnu/* ports/arm-cm/qv/iar/* ^
ports/arm-cm/qxk/armclang/* ports/arm-cm/qxk/config/* ports/arm-cm/qxk/gnu/* ports/arm-cm/qxk/iar/* ^
ports/arm-cm/qutest/* ^
ports/arm-cr/qk/config/* ^
ports/arm-cr/qk/gnu/* ports/arm-cr/qk/iar/* ports/arm-cr/qk/ti/* ^
ports/arm-cr/qv/gnu/* ports/arm-cr/qv/iar/* ports/arm-cr/qv/ti/* ^
ports/msp430/qk/* ports/msp430/qv/* ports/msp430/qutest/* ^
ports/config/* ^
ports/embos/* ^
ports/freertos/* ^
ports/threadx/* ^
ports/uc-os2/* ^
2024-07-19 19:25:12 -04:00
ports/qep-only/* ^
ports/posix/* ports/posix-qv/* ports/posix-qutest/* ^
ports/win32/* ports/win32-qv/* ports/win32-qutest/* ^
2023-12-14 16:55:37 -05:00
zephyr/* ^
> qpc_%VERSION%.sha1
2023-12-14 16:55:37 -05:00
@echo done
:end
@endlocal