CMake linting and formatting based on gersemi with ament
integration.
See here.
See here.
pip install gersemi
# You may have to set your path to include gersemi's binary location:
export PATH=$PATH:$HOME/.local/bin
# Or do so permanently in bash
echo "export PATH=$PATH:$HOME/.local/bin" >> .bashrc
Clone this repository into your workspace and build it:
# make a workspace if you don't have one
mkdir -p ~/ws/ament_gersemi/src
cd ~/ws/ament_gersemi/src
git clone https://github.com/swri-robotics/ament_gersemi.git
cd ..
colcon build