Skip to content

Commit

Permalink
Merge pull request #270 from City-of-Helsinki/update-configuration
Browse files Browse the repository at this point in the history
Automatic update
  • Loading branch information
rpnykanen authored Aug 30, 2023
2 parents fb0f16d + af71cee commit 66bec7a
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 20 deletions.
31 changes: 17 additions & 14 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
uuid: c4e2d7dd-ad67-4fd7-8927-98afab20b0af
uuid: 2b95b2a4-0870-428d-abc3-ad9cd61f0a13
langcode: en
status: true
dependencies:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
uuid: 06a78014-a245-4ed4-a8e6-a491e5eb353c
uuid: 08b1148b-0347-4ab1-a90c-ccebd014ccda
langcode: en
status: true
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/user.role.super_administrator.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
uuid: 548afcec-fc69-4de4-9f77-0b592b912d1b
uuid: e31b049d-2c54-4762-87df-6123d039aec2
langcode: en
status: true
dependencies: { }
Expand Down
10 changes: 7 additions & 3 deletions tools/make/qa.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ TEST_TARGETS += test-phpunit
FIX_TARGETS :=
LINT_PHP_TARGETS :=
CS_INSTALLED := $(shell test -f $(COMPOSER_JSON_PATH)/vendor/bin/phpcs && echo yes || echo no)
CS_CONF_EXISTS := $(shell test -f phpcs.xml.dist && echo yes || echo no)
TESTSUITES ?= unit,kernel,functional

PHONY += fix
Expand Down Expand Up @@ -57,10 +58,13 @@ define test_result
@echo "\n${YELLOW}${1}:${NO_COLOR} ${GREEN}${2}${NO_COLOR}"
endef

ifeq ($(CS_INSTALLED),yes)
ifeq ($(CS_INSTALLED)-$(CS_CONF_EXISTS),yes-yes)
define cs
$(call docker_compose_exec,vendor/bin/$(1) --config-set installed_paths $(CS_STANDARD_PATHS))
$(call docker_compose_exec,vendor/bin/$(1) --standard=$(CS_STANDARDS) --extensions=$(CS_EXTS) --ignore=node_modules $(2))
$(call docker_compose_exec,$(1))
endef
else ifeq ($(CS_INSTALLED)-$(CS_CONF_EXISTS),yes-no)
define cs
$(call docker_compose_exec,$(1) --standard=$(CS_STANDARDS) --extensions=$(CS_EXTS) --ignore=node_modules $(2))
endef
else
define cs
Expand Down

0 comments on commit 66bec7a

Please sign in to comment.