Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit fe7b887

Browse files
committed
Fix make file
1 parent abb7ecd commit fe7b887

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ install:
55
@ $(VENDOR_BIN)/phpcs --config-set default_standard WP-Engine
66
@ $(VENDOR_BIN)/phpcs --config-set show_progress 1 > /dev/null 2>&1
77
@ $(VENDOR_BIN)/phpcs --config-set colors 1 > /dev/null 2>&1
8+
@chmod +x ${CURDIR}/bin/wpecs
9+
@chmod +x ${CURDIR}/bin/wpecbf
10+
@rm /usr/local/bin/wpecs || true
11+
@rm /usr/local/bin/wpecbf || true
12+
@ln -s ${CURDIR}/bin/wpecs /usr/local/bin/wpecs
13+
@ln -s ${CURDIR}/bin/wpecbf /usr/local/bin/wpecbf
814
@ $(VENDOR_BIN)/phpcs -i; echo "\n"
915
@echo "USAGE: wpecs [--strict] [phpcs-options] <path>\n"
1016
@echo "For assistance getting started try 'wpecs -h'\n"

0 commit comments

Comments
 (0)