Skip to content

Commit

Permalink
CORE-6424 - Be sure to fail the build process if the employee databas…
Browse files Browse the repository at this point in the history
…e cannot be copied to the output directory for packaging.
  • Loading branch information
reevespaul committed Oct 21, 2020
1 parent a257a41 commit 122a553
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions builds/win32/make_examples.bat
Expand Up @@ -163,6 +163,10 @@ if errorlevel 44 (call :ERROR empbuild.exe failed - see %~n0.log for details & g
::==============
:MOVE2
@copy %FB_GEN_DIR%\examples\employee.fdb %FB_OUTPUT_DIR%\examples\empbuild\ > nul
if errorlevel 1 (
@call :ERROR copying employee database to %FB_OUTPUT_DIR%\examples\empbuild failed - see make_examples_%FB_TARGET_PLATFORM%.log for details
@goto :EOF
)

if defined FB2_INTLEMP (
if exist %FB_GEN_DIR%\examples\intlemp.fdb (
Expand Down

0 comments on commit 122a553

Please sign in to comment.