Skip to content

Commit

Permalink
Adapt scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Flova committed Jan 18, 2024
1 parent c0c716e commit e8fe80e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 69 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ basler:
install: pull-init basler update

master:
git submodule foreach -q --recursive 'branch="$$(git config -f $$toplevel/.gitmodules submodule.$$name.branch)"; [ "$$branch" = "" ] && git switch -q master || git switch -q $$branch'
vcs import .. < workspace.repos

pip:
# Install and upgrade pip dependencies
pip install --upgrade -r requirements/dev.txt

pre-commit:
# Install pre-commit hooks for all submodules that have a .pre-commit-config.yaml file
git submodule foreach -q --recursive "test -f .pre-commit-config.yaml && pre-commit install || :"
pre-commit install

pull-all:
git pull
scripts/pull_all.sh
vcs pull ..
scripts/pull_files.bash

pull-init:
git pull
scripts/pull_init.sh
vcs import .. < workspace.repos
scripts/pull_files.bash

pull-files:
Expand All @@ -32,9 +32,9 @@ pull-files:
rosdep:
# Update rosdep and install dependencies from meta directory
rosdep update
rosdep install -iry --from-paths .
rosdep install -iry --from-paths ..

status:
scripts/git_status.bash
vcs status ..

update: pull-all rosdep pip pre-commit
45 changes: 0 additions & 45 deletions scripts/git_status.bash

This file was deleted.

10 changes: 0 additions & 10 deletions scripts/pull_all.sh

This file was deleted.

8 changes: 0 additions & 8 deletions scripts/pull_init.sh

This file was deleted.

0 comments on commit e8fe80e

Please sign in to comment.