mirror of
https://github.com/gsi-upm/senpy
synced 2025-08-24 02:22:20 +00:00
Taiger
This commit is contained in:
7
Makefile
7
Makefile
@@ -3,19 +3,20 @@ NAME=senpycommunity
|
||||
REPO=gsiupm
|
||||
PLUGINS= $(filter %/, $(wildcard */))
|
||||
IMAGENAME=gsiupm/senpy-plugins-community
|
||||
DOCKER_FLAGS=
|
||||
DOCKER_FLAGS=-e MOCK_REQUESTS=$(MOCK_REQUESTS)
|
||||
DEV_PORT?=5000
|
||||
|
||||
ifdef SENPY_FOLDER
|
||||
DOCKER_FLAGS+= -v $(realpath $(SENPY_FOLDER)):/usr/src/app/
|
||||
endif
|
||||
|
||||
|
||||
all: build run
|
||||
|
||||
test-fast:
|
||||
test-fast-%:
|
||||
docker run $(DOCKER_FLAGS) -v $$PWD/$*:/senpy-plugins/ -v $$PWD/data:/data/ --rm $(IMAGEWTAG) --only-test $(TEST_FLAGS)
|
||||
|
||||
test-fast: test-fast-/
|
||||
|
||||
test: docker-build test-fast
|
||||
|
||||
dev:
|
||||
|
Reference in New Issue
Block a user