Skip to content

Commit efd097a

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

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ Finally, run this to remove container and image:
4646
Using the terminal, move to the root of your project and run the following commands:
4747

4848
```bash
49-
rosdep update
50-
rosdep install --ignore-src --from-paths . -y -r
51-
colcon build --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo --symlink-install --event-handlers log-
49+
./bin/update.sh
50+
./bin/build.sh
5251
```

0 commit comments

Comments
 (0)