-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
mkdir -p /colcon_ws/src | ||
ln -s $(realpath .) /colcon_ws/src/bitbots_meta | ||
- name: Pull our software | ||
run: awk '{sub("[email protected]:", "https://github.com/"); print " " $0}' workspace.repos | vcs import .. --skip-existing | ||
run: make pull-init --use-https | ||
working-directory: /colcon_ws/src/bitbots_meta | ||
- name: Install proprietary basler drivers | ||
run: make basler ARGS="-ci" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.PHONY : basler install pip pre-commit pull-all pull-init pull-files rosdep status update | ||
|
||
HTTPS_FLAG := --use-https | ||
|
||
basler: | ||
scripts/make_basler.sh $(ARGS) | ||
|
||
|
@@ -23,7 +25,11 @@ pull-all: | |
|
||
pull-init: | ||
git pull | ||
vcs import .. < workspace.repos | ||
ifeq ($(filter $(HTTPS_FLAG),$(filter-out $<,$(MAKECMDGOALS))),$(HTTPS_FLAG)) | ||
awk '{sub("[email protected]:", "https://github.com/"); print " " $$0}' workspace.repos | vcs import .. --skip-existing | ||
else | ||
vcs import .. --skip-existing < workspace.repos | ||
endif | ||
scripts/pull_files.bash | ||
|
||
pull-files: | ||
|