HWBTutorials/scripts/flash.cmd

10 lines
270 B
Batchfile

CALL %~dp0setup.cmd
CALL %~dp0compile.cmd
:: "-f" forces overwriting old versions of the package
IF [%PARAMS%]==[] (
gp -f --install %~dp0..\%PACKAGE%\javacard\%PACKAGE%.cap
) ELSE (
gp -f --install %~dp0..\%PACKAGE%\javacard\%PACKAGE%.cap --params %PARAMS%
)