emake doesn't show error finding input file

Reporter: HitCoder9768  |  Status: open  |  Last Modified: November 12, 2022, 02:53:11 pm

Describe the bug

when running emake in the command line to build a game that it can't find, it doesn't output an error unless environment variable ENIGMA_DEBUG=TRUE is parsed. The default output is as follows:

[hitcoder@hitcoder-endeavour Documents]$ emake enigma-tetris.gmk -o ./tetris
LibEGM parsing log at: /tmp/enigma_libegm.log
ENIGMA compiler log at: /tmp/enigma_compiler.log
Linking up to IDE
Implementing JDI basics
UnimplementedUnimplemented

Choosing language: C++
 > Normal
 > Stacked
 > Specialized
 > TriggerOnce
 > TriggerAll
 > Inline
Creating parse context
 > Normal
 > Stacked
 > Specialized
 > TriggerOnce
 > TriggerAll
 > Inline

when running with the aforementioned env-var the end of the output prints the following

File: enigma-tetris.gmk does not exists

This should most likely be an important piece of output that should not be filtered.

Steps To Reproduce

run emake and supply it a path to a nonexistent game file

Expected behavior

the compiler should state that it could not find the specified file or that it does not exist (as shown above)

Game files & Screenshots

The game used in the example was the Tetris example uploaded by hugar/hpg678
https://enigma-dev.org/edc/games.php?game=112

ENIGMA Configuration:

  • Endeavour OS (Arch Linux) LINUX510 Kernel
abuharish02  

kindly assign this issue to me.

fundies  
> kindly assign this issue to me.

No one is actively working on it. Feel free to make a pull request.

Please sign in to post comments, or you can view this issue on GitHub.