Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
post build step : launch plugin
mandrav:
--- Quote from: killerbot on January 29, 2010, 07:02:05 pm ---Hey Yiannis, good you give an example ?
--- End quote ---
In rev.6118, two new script commands were added: ExecuteToolPlugin() and ConfigureToolPlugin().
You can now put something like this in your post-build steps:
--- Code: ---[[ ExecuteToolPlugin(_("CppCheck")) ]]
--- End code ---
Enjoy :)
killerbot:
gonna try them out tomorrow.
Hehe nice to have the boss back :P
oBFusCATed:
Another feature request for the "Post build step":
Is it possible to add option: "ReRun if Build/Post build failed last time"
This will be useful for unittest projects, where the resulting executable is run in the postbuild step.
At the moment I have to enable the option "Always run post build step", in order to get constant test failures
Example:
--- Code: ---0. Load the project
1. Edit code/tests
2. Hit compile
3. The tests are run and fail
4. Hit compile again (no changes to code),
Expected behavior: tests are run again and fail.
If the "Always run post build step" is not enabled the build succeeds, which is wrong.
--- End code ---
The current solution works, but is not optimal for large projects (many projects in a workspace, with lots of test projects),
because every time the user hits "Compile" all the test projects will be run, which costs time :(
Navigation
[0] Message Index
[*] Previous page
Go to full version