Browse Source

Generate Status files

build-windows
Thomas 7 months ago
parent
commit
231acbd1a1
2 changed files with 6 additions and 0 deletions
  1. +5
    -0
      build-windows/generate_code.cmd
  2. +1
    -0
      utils/gen_status_codes.sh

+ 5
- 0
build-windows/generate_code.cmd View File

@ -11,6 +11,11 @@ SET java_pkg_basename=foundation\pEp\jniadapter
MKDIR %marker_dir%
MKDIR %exceptions_directory%
:: Generate Status files
SH ..\utils\gen_status_codes.sh ..\..\pEp\pEpEngine.h
MV passphrase_status_list.yml2 ..\src\codegen\
MV status_list.yml2 ..\src\codegen\
:: Generate YML2 code
PUSHD ..
CD src


+ 1
- 0
utils/gen_status_codes.sh View File

@ -23,6 +23,7 @@ OS="$(uname -s)"
case "${OS}" in
Linux*) SED=sed;;
Darwin*) SED=gsed;;
MSYS*) SED=sed;;
CYGWIN*) echo "UNSUPORTED YET" && exit;;
MINGW*) echo "UNSUPORTED YET" && exit;;
*) echo "UNKNOWN:${OS}" && exit;;


Loading…
Cancel
Save