Spadix, a friendly wrapper for colcon
Copyright (C) 2021 SafeAI
Why?
Our company uses
colcon (from collective construction build manager)
as our main build management tool for many years.
While we like this package, it has its problem areas, in our opinion, especially when used by unexperienced engineers.
- Default build is not a merged one, and this disables Doxygen build
- It is allowed to run from any directory in the project tree, making the tree contaminated with build artifacts
- By default console output is switched off and switching it back on requires an additional parameter
- It requires few additional parameters to run
gtestalone
We decided to fix these deficiencies and created a wrapper spadix around colcon.
Catkin, ament, colcon, spadix... Got it?
How
spadix accepts all colcon commands and options plus it adds and modifies few commands on its own.
Usage:
spadix [Global options] [command] [command options] ...
[Global options]
--no-merge : Don't use --merge-install option for colcon
--no-console : Don't use the default console mode: `--event-handlers console_direct+`
--no-root-check : Don't check that spadix being started from the root of a git project
Commands:
clean :Clean all projects (essentially executes `rm -rf log install build`)
clean:<project1>[,<project2>...] :Clean selected, comma-separated projects. Spaces not supported
build :Build all projects using --merge-install settings
build:<project1>[,<project2>...] Build selected, comma-separated projects. Spaces not supported
Build options:
--release : RelWithDebInfo (debug build by default)
--no-fif : Disable Failure Injection Framework (FIF enabled by default)
test :Test all projects using --merge-install settings
test:<project1>[,<project2>...] :Test selected, comma separated projects
gtest:<project> [gtest parameters] :Run gtest only ('build/test_<project name>')
Metadata
Release files for spadix 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spadix-0.7.0.tar.gz | 11.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spadix-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / spadix-0.7.0.tar.gz
| Download URL | spadix-0.7.0.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6eb59118f443285b1d7210fa9d74ab6259a4222f8906a51e1c4be61802fa29e3
|
|
BLAKE2b-256 checksum How to use checksums |
f3fc187b7aeae3b0a433175fa449e9050947aabc636e772c8c492da4fb930042
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.3
|
Release files / spadix-0.7.0-py3-none-any.whl
| Download URL | spadix-0.7.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c40b07b2fdf4c0e082e89595b4ad3959908e72fbc738f0d37c166d96946e1d28
|
|
BLAKE2b-256 checksum How to use checksums |
37961868235f64f9bce88e5f6553c2d1ae1d97774edf7c1956e87433f688974d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.3
|