Skip to content

Commit b2cf253

Browse files
committed
Using scripts for updating, building and running tests.
1 parent b2eefae commit b2cf253

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,19 @@ pre-commit install
8282
Move into the repo and install all required dependencies.
8383

8484
```
85-
rosdep install --ignore-src --from-paths . -y -r
85+
./bin/update.sh
8686
```
8787

8888
Run Colcon to build the project.
8989

9090
```
91-
sudo apt install python3-colcon-common-extensions
92-
colcon build --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo --symlink-install --event-handlers log-
91+
./bin/build.sh
9392
```
9493

9594
Execute all tests.
9695

9796
```
98-
colcon test
97+
./bin/test.sh
9998
```
10099

101100
## Running the Application

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN apt-get -y install python3
2525
RUN apt-get -y install python-is-python3
2626
RUN apt-get -y install jstest-gtk # Test connected joysticks.
2727
RUN apt-get install -y --no-install-recommends ros-humble-rmw-cyclonedds-cpp
28+
RUN apt-get install -y python3-colcon-common-extensions
2829

2930
CMD ["bash"]
3031

docker/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,10 @@ rosdep update
5050
rosdep install --ignore-src --from-paths . -y -r
5151
colcon build --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo --symlink-install --event-handlers log-
5252
```
53+
54+
Alternatively, you can run these scripts:
55+
56+
```bash
57+
./bin/update.sh
58+
./bin/build.sh
59+
```

0 commit comments

Comments
 (0)