Skip to content

Commit 3ac84d8

Browse files
committed
properlly donwlonig ground station
1 parent 19f54ed commit 3ac84d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PYSQUARED_VERSION ?= v2.0.0-alpha-25w40a
22
PYSQUARED ?= git+https://github.com/proveskit/pysquared@$(PYSQUARED_VERSION)\#subdirectory=circuitpython-workspaces/flight-software
3+
PYSQUARED_GS ?= git+https://github.com/proveskit/pysquared@$(PYSQUARED_VERSION)\#subdirectory=circuitpython-workspaces/ground-station
34
BOARD_MOUNT_POINT ?= ""
45
BOARD_TTY_PORT ?= ""
56
VERSION ?= $(shell git tag --points-at HEAD --sort=-creatordate < /dev/null | head -n 1)
@@ -33,6 +34,11 @@ download-libraries-%: uv .venv ## Download the required libraries
3334
@$(UV) pip install --requirement src/$*/lib/requirements.txt --target src/$*/lib --no-deps --upgrade --quiet
3435
@$(UV) pip --no-cache install $(PYSQUARED) --target src/$*/lib --no-deps --upgrade --quiet
3536

37+
@if [ "$*" = "ground-station" ]; then \
38+
echo "Also downloading GS..."; \
39+
$(UV) pip --no-cache install $(PYSQUARED_GS) --target src/$*/lib --no-deps --upgrade --quiet; \
40+
fi
41+
3642
@rm -rf src/$*/lib/*.dist-info
3743
@rm -rf src/$*/lib/.lock
3844

0 commit comments

Comments
 (0)