Skip to content

Commit

Permalink
Add https flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Flova committed Jan 18, 2024
1 parent 07179a2 commit da600e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
mkdir -p /colcon_ws/src
ln -s $(realpath .) /colcon_ws/src/bitbots_meta
- name: Pull our software
run: make pull-init --use-https
run: make pull-init HTTPS=true
working-directory: /colcon_ws/src/bitbots_meta
- name: Install proprietary basler drivers
run: make basler ARGS="-ci"
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY : basler install pip pre-commit pull-all pull-init pull-files rosdep status update

HTTPS_FLAG := --use-https
HTTPS := ""

basler:
scripts/make_basler.sh $(ARGS)
Expand All @@ -25,7 +25,7 @@ pull-all:

pull-init:
git pull
ifeq ($(filter $(HTTPS_FLAG),$(filter-out $<,$(MAKECMDGOALS))),$(HTTPS_FLAG))
ifeq ($(HTTPS), true)
awk '{sub("[email protected]:", "https://github.com/"); print " " $$0}' workspace.repos | vcs import .. --skip-existing
else
vcs import .. --skip-existing < workspace.repos
Expand Down

0 comments on commit da600e1

Please sign in to comment.