Skip to content

Commit

Permalink
Add rosdistro to setup and update purge command (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst authored Dec 10, 2023
1 parent d9016c6 commit 1364c2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"label": "purge",
"detail": "Purge workspace by deleting all generated files.",
"type": "shell",
"command": "rm -fr build install log; py3clean .",
"command": "sudo rm -fr build install log; sudo py3clean .",
"problemMatcher": []
},
// Linting and static code analysis tasks
Expand Down
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ set -e

vcs import < src/ros2.repos src
sudo apt-get update
rosdep update
rosdep install --from-paths src --ignore-src -y
rosdep update --rosdistro=$ROS_DISTRO
rosdep install --from-paths src --ignore-src -y --rosdistro=$ROS_DISTRO

0 comments on commit 1364c2f

Please sign in to comment.