Skip to content

Commit

Permalink
Moved make cypress-update and url related to it to qa.mk.
Browse files Browse the repository at this point in the history
  • Loading branch information
sonyavpaa committed Jun 24, 2024
1 parent 553c7f6 commit 48e3a56
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion make/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ RUN_ON := host
UNAME_S := $(shell uname -s)
# Shorten with https://git.io/ : https://raw.githubusercontent.com/druidfi/tools/main/update.sh
UPDATE_SCRIPT_URL := https://git.io/JP10q
UPDATE_CYPRESS_SCRIPT_URL := https://raw.githubusercontent.com/druidfi/cypress-testing/main/update.sh
WEBROOT ?= public

include $(DRUIDFI_TOOLS_MAKE_DIR)utils.mk
Expand Down
5 changes: 0 additions & 5 deletions make/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ clean: ## Cleanup
@rm -rf vendor
@git clean -fdx $(foreach item,$(CLEAN_EXCLUDE),-e $(item))

PHONY += cypress-update
cypress-update: ## Update Cypress from druidfi/cypress-testing
$(call step,Update Cypress...\n)
@bash -c "$$(curl -fsSL $(UPDATE_CYPRESS_SCRIPT_URL))"

PHONY += self-update
self-update: ## Self-update makefiles from druidfi/tools
$(call step,Update makefiles from druidfi/tools\n)
Expand Down
6 changes: 6 additions & 0 deletions make/qa.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ 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
UPDATE_CYPRESS_SCRIPT_URL := https://raw.githubusercontent.com/druidfi/cypress-testing/main/update.sh

PHONY += cypress-update
cypress-update: ## Update Cypress from druidfi/cypress-testing
$(call step,Update Cypress...\n)
@bash -c "$$(curl -fsSL $(UPDATE_CYPRESS_SCRIPT_URL))"

PHONY += fix
fix: ## Fix code style
Expand Down

0 comments on commit 48e3a56

Please sign in to comment.