Skip to content

Commit

Permalink
Use Makefile instead of make_* scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
timonegk committed Nov 29, 2023
1 parent d404708 commit 6061218
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 29 deletions.
19 changes: 12 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@
basler:
scripts/make_basler.sh $(ARGS)

install: pull-init
scripts/make_update.sh
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'

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

pre-commit:
scripts/make_pre-commit.sh
# 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 || :"

pull-all:
git pull
Expand All @@ -26,10 +30,11 @@ pull-files:
scripts/pull_files.bash

rosdep:
scripts/make_rosdep.sh
# Update rosdep and install dependencies from meta directory
rosdep update
rosdep install -iry --from-paths .

status:
scripts/git_status.bash

update: pull-all
scripts/make_update.sh
update: pull-all rosdep pip pre-commit
4 changes: 0 additions & 4 deletions scripts/make_install.sh

This file was deleted.

4 changes: 0 additions & 4 deletions scripts/make_pip.sh

This file was deleted.

4 changes: 0 additions & 4 deletions scripts/make_pre-commit.sh

This file was deleted.

5 changes: 0 additions & 5 deletions scripts/make_rosdep.sh

This file was deleted.

5 changes: 0 additions & 5 deletions scripts/make_update.sh

This file was deleted.

0 comments on commit 6061218

Please sign in to comment.