return value of codelite-make

General questions regarding the usage of CodeLite
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

return value of codelite-make

Post by Jarod42 »

Creating github action to test premake with Codelite, I got issue to retrieve build status.

Make generate successfully, but build fails (due to wrong settings in Premake that I want to highlight) but codelite-make still returns 0 (so success in script shell)

Example of action which I expect to fail:
https://github.com/Jarod42/premake-samp ... focus=true (tests project)

I do

Code: Select all

codelite-make --settings=../../../codelite/build_settings.xml --workspace=Project.workspace --project=app --config=Release --command=build --verbose --execute
  return $?

to launch build from command line.

Version of Codelite is the one which comes from an apt-get from Ubuntu.

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: return value of codelite-make

Post by eranif »

Can you report this as a bug?

Make sure you have read the HOW TO POST thread
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: return value of codelite-make

Post by Jarod42 »

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: return value of codelite-make

Post by eranif »

thanks

Make sure you have read the HOW TO POST thread
Post Reply