Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f7c0779

Browse files
committedDec 24, 2022
chore(ci): fix cached typo
it is "cache" not "cached". adding "*" for clean of "vendor-*.cache*" (previously /.cached$/) to retain backwards compatibility (the "*" at the end can be removed safely later in time). rationale: "cached" is not at build time in general, and within this project also for files within the repository, e.g. - resources/bash/cached.php - tests/fixtures/bash/cached.txt
1 parent 0623ac8 commit f7c0779

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
*.cached*
1+
*.cache*
22
/composer.lock
33
/vendor/

‎Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ PHP ?= php
77

88
COMPOSER_EXECUTABLE := $(shell command -v $(COMPOSER_COMMAND) 2> /dev/null)
99
COMPOSER_CMD := $(PHP) $(COMPOSER_EXECUTABLE)
10-
export COMPOSER_VENDOR_DIR := vendor-$(PHP).cached
11-
export COMPOSER := composer-$(PHP).cached.json
10+
export COMPOSER_VENDOR_DIR := vendor-$(PHP).cache
11+
export COMPOSER := composer-$(PHP).cache.json
1212

1313
export PATH := $(PWD)/bin:$(dir $(BATS_TMP))local/bin:$(PWD)/tests/fixtures:$(PATH)
1414

@@ -38,7 +38,7 @@ $(BATS_TMP)/.git/HEAD :
3838
.PHONY : vendor
3939
vendor : $(COMPOSER) $(COMPOSER_VENDOR_DIR)/composer/installed.json
4040

41-
composer-%.cached.json : composer.json
41+
composer-%.cache.json : composer.json
4242
rm -f $@
4343
cp $< $@
4444

@@ -52,4 +52,4 @@ $(COMPOSER_VENDOR_DIR)/composer/installed.json : composer.json
5252
.PHONY : clean
5353
clean :
5454
rm -rf -- $(BATS_TMP) $(dir $(BATS_TMP))local
55-
git clean -ffx vendor-*.cached composer-*.cached*
55+
git clean -ffx vendor-*.cache* composer-*.cache*

0 commit comments

Comments
 (0)
Please sign in to comment.