Commit Graph

14 Commits

Author SHA1 Message Date
Al Poole 7e9f33a635 exe: Add methods to handle async shell execution and acting on exit status.
This adds two methods for handling executing shells async. The notification
has been reworked to use this method so there is less blocking. A callback
can be passed to the handler method for various actions on the exit status
of the script execution.
2017-09-05 15:58:00 +01:00
Al Poole 5aba714f90 build: Add support for tracking build process exit code and add notification.
This patch adds tracking of the build process's status code. This allows us
to respond to the build process within the program much easier. Also added
a simple API for desktop notification of the build process and its exit code
which is useful and pretty.
2017-09-04 20:52:34 +01:00
Andy Williams 405f93efe1 build: Add support for cargo based rust projects
In the process we needed to define if a project can be run...
Python and rust can always be run as they will build their binaries
whereas make and cmake need to be configured etc...
2017-07-05 20:51:38 +01:00
Andy Williams 357acdca7b [build] Abstract build logic to provider lookup
Allow future extensibility for different build types.
Display detected type in project window title.
2016-05-16 09:11:11 +01:00
Andy Williams 18f1a87b09 [builder] use builtin sh support in Ecore_Exe
Thanks for the hint Vincent :)
2016-01-17 17:58:53 +00:00
Andy Williams f66d5ebaa8 [builder] Lauch /bin/sh to avoid local shell issues.
We're assuming a unix / linux machine of course
 - this needs to be addressed for proper windows support
2016-01-16 22:50:24 +00:00
Andy Williams e925d9fb42 [build] Set up test environment in a way that supports fish and others
Use env rather than implicit variable setting in command line
2015-12-11 13:08:52 +00:00
Andy Williams 6e461200c6 headers: remove includes if they are not needed
Put them in the code that needs them unless they are part of the API
2015-05-16 10:05:54 +01:00
Kelly Wilson 1c92229d71 Build: add cmake builder
Add ability to build a cmake project. This specifically makes a new build directory in the base directory for building, as that is the recommended cmake strategy.
2015-02-05 12:16:54 -07:00
Andy Williams 032d7e5963 Move project creation to our Edi library.
Move to ecore_exe from fork/wait as it is more portable
2015-01-17 17:04:26 +00:00
Andy Williams a82431c627 Add tests PASSED and FAILED to elm_code statuses
and the widget rendering.

Use this in EDI to add a test summarising panel.
Tests are executed in verbose mode so we can list
all the tests that have been run - can summarise
later if we wish...
2014-11-18 21:11:10 +00:00
Andy Williams 34b928c72c Adding simple build check and clean support to the CLI and main toolbar 2014-11-09 23:12:47 +00:00
Andy Williams 4fd8358929 Fix builds when running from a different directory 2014-04-27 21:00:09 +01:00
Andy Williams 5eff36e8e8 Actually use our library for building. Support ./configure and ./autogen.sh. Move some common functions to the library too 2014-04-27 17:36:20 +01:00