ros-tooling / cross_compile

A tool to build ROS and ROS2 workspaces for various targets
Apache License 2.0
188 stars 60 forks source link

Add custom post-build script #274

Closed emersonknapp closed 3 years ago

emersonknapp commented 3 years ago

Implements #271

This adds another customizable script hook, this time after the build has completed, allowing the user to postprocess their build outputs in the build environment.

The unit test is for a fairly simple case, the colcon-bundle example in the README has been tested manually but seems overkill for a test.

codecov[bot] commented 3 years ago

Codecov Report

Merging #274 (5de961c) into master (9032796) will increase coverage by 0.07%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #274      +/-   ##
==========================================
+ Coverage   92.07%   92.15%   +0.07%     
==========================================
  Files          10       10              
  Lines         404      408       +4     
==========================================
+ Hits          372      376       +4     
  Misses         32       32              
Flag Coverage Δ
unittests 92.15% <100.00%> (+0.07%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ros_cross_compile/ros_cross_compile.py 81.39% <100.00%> (+0.44%) :arrow_up:
ros_cross_compile/sysroot_creator.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9032796...5de961c. Read the comment docs.