mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-01-31 19:26:36 +08:00
7b74bd8bd8
Co-authored-by: Fabio Niephaus <fabio.niephaus@oracle.com>
14 lines
337 B
Batchfile
14 lines
337 B
Batchfile
@echo off
|
|
set "SCRIPT_DIR=%~dp0"
|
|
|
|
for %%p in (
|
|
"\"pkg:maven/org.json/json@20241224\""
|
|
"\"main-test-app\""
|
|
"\"svm\""
|
|
"\"nativeimage\""
|
|
) do (
|
|
echo Checking for %%p
|
|
findstr /c:%%p "%SCRIPT_DIR%target\main-test-app.sbom.json" || exit /b 1
|
|
)
|
|
|
|
echo SBOM was successfully generated and contained the expected components |