You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python-client: VERSION validate-api-specification artifacts_dir ## auto-generate python client
38
30
$(eval VERSION := $(shell cat $(VERSION_FILE)))
39
31
-rm -r $(ARTIFACTS_DIR)/client
40
32
docker run --rm --user $(UID):$(UID)\
@@ -52,7 +44,7 @@ python-client: client/VERSION validate-api-specification artifacts_dir ## genera
52
44
$(MAKE) postprocess-build
53
45
54
46
.PHONY: python-client-from-templates
55
-
python-client-from-templates: client/VERSION validate-api-specification artifacts_dir ## generate python client using templates in a specified directory (usage: 'make python-client-from-templates -e TEMPLATE_DIR=path/to/templates')
47
+
python-client-from-templates: VERSION validate-api-specification artifacts_dir ## generate python client using templates in a specified directory (usage: 'make python-client-from-templates -e TEMPLATE_DIR=path/to/templates')
56
48
$(if$(TEMPLATE_DIR),,$(error The TEMPLATE_DIR environment variable must be set))
57
49
@echo "Using template-dir: $(TEMPLATE_DIR)"
58
50
$(eval VERSION := $(shell cat $(VERSION_FILE)))
@@ -109,22 +101,22 @@ install-dev: _check_venv_active ## install packages for development
109
101
110
102
.PHONY: install-unit-test
111
103
install-unit-test: _check_venv_active ## install packages for unit testing client
mypy: $(SCRIPTS_DIR)/mypy.bash $(PYTHON_DIR)/mypy.ini ## runs mypy python static type-checker on this services's code. Use AFTER make install-*
119
+
mypy: $(SCRIPTS_DIR)/mypy.bash $(CLIENTS_PYTHON_DIR)/mypy.ini ## runs mypy python static type-checker on this services's code. Use AFTER make install-*
128
120
@$(SCRIPTS_DIR)/mypy.bash client
129
121
130
122
.PHONY: test-dev
@@ -136,27 +128,38 @@ test-dev: _check_venv_active ## runs tests during development
136
128
--failed-first \
137
129
--durations=10 \
138
130
--pdb \
139
-
$(PYTHON_DIR)/test/test_osparc
131
+
$(CLIENTS_PYTHON_DIR)/test/test_osparc
140
132
141
133
.PHONY: dist
142
134
dist: artifacts_dir ## builds distribution wheel for `osparc_client` and `osparc` packages -> $(ARTIFACTS_DIR)/dist
0 commit comments