Skip to content

Commit

Permalink
make cypress-update
Browse files Browse the repository at this point in the history
  • Loading branch information
sonyavpaa committed Jun 20, 2024
1 parent f7bd5d8 commit e7ea2e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions make/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions make/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e7ea2e9

Please sign in to comment.