From e7ea2e99d579a44438ce0756d0972c909b75a531 Mon Sep 17 00:00:00 2001 From: sonyavpaa Date: Thu, 20 Jun 2024 11:10:57 +0200 Subject: [PATCH] make cypress-update --- make/Makefile | 1 + make/common.mk | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/make/Makefile b/make/Makefile index fa00088..fa3b358 100644 --- a/make/Makefile +++ b/make/Makefile @@ -9,6 +9,7 @@ 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/updater/update.sh WEBROOT ?= public include $(DRUIDFI_TOOLS_MAKE_DIR)utils.mk diff --git a/make/common.mk b/make/common.mk index 0ede445..2bb32dc 100644 --- a/make/common.mk +++ b/make/common.mk @@ -45,6 +45,11 @@ 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)