This provides a script to build the libosmium examples such as
osmium_convert (to convert from xml to pbf).
I initially tried a CMake ExternalProject setup, but this was more
complicated than I initially thought; this is the more elegant solution.
The goal is to eventually rip out osmosis, so that we no longer depend
on java for the cucumber tests.
References:
- https://github.com/Project-OSRM/osrm-backend/issues/1788
This provides a wrapper script to invoke the Static Analyzer on the code
base. The script simply wraps your commands, that is you have to do the
following:
..scripts/analyze cmake ..
..scripts/analyze cmake --build .
Note: the Static Analyzer is integrated in Xcode, so if you are on a
Mac, consider using Xcode natively instead of this wrapper script that
will only give you HTML output.
Reference:
- http://clang-analyzer.llvm.org/
Automate cucumber tests bisecting by providing a `git bisect` script.
Because it is stored in source control, but bisecting changes the HEAD,
it is advised to first copy over the script to a place outside source
control, e.g. `/tmp`.
Usage:
git bisect start HEAD HEAD~10
bit bisect run /tmp/bisect_cucumber.sh
This automatically configures and builds OSRM, spawns the cucumber tests
and communicates with `git bisect` based on its return code.
Reference:
- man git-bisect