-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/5.0.3' into v5
- Loading branch information
Showing
23 changed files
with
3,020 additions
and
1,226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
MAJOR_VERSION?=5 | ||
PLUGINDEV_PROJECT_DIR?=/Users/andrew/webdev/sites/plugindev/cms_v${MAJOR_VERSION}/ | ||
VENDOR?=nystudio107 | ||
PROJECT_PATH?=${VENDOR}/$(shell basename $(CURDIR)) | ||
|
||
.PHONY: dev docs release | ||
|
||
# Start up the buildchain dev server | ||
dev: | ||
${MAKE} -C buildchain/ dev | ||
# Start up the docs dev server | ||
docs: | ||
${MAKE} -C docs/ dev | ||
# Run code quality tools, tests, and build the buildchain & docs in preparation for a release | ||
release: --code-quality --code-tests --buildchain-clean-build --docs-clean-build | ||
# The internal targets used by the dev & release targets | ||
--buildchain-clean-build: | ||
${MAKE} -C buildchain/ clean | ||
${MAKE} -C buildchain/ image-build | ||
${MAKE} -C buildchain/ build | ||
--code-quality: | ||
${MAKE} -C ${PLUGINDEV_PROJECT_DIR} -- ecs check vendor/${PROJECT_PATH}/src --fix | ||
${MAKE} -C ${PLUGINDEV_PROJECT_DIR} -- phpstan analyze -c vendor/${PROJECT_PATH}/phpstan.neon | ||
--code-tests: | ||
--docs-clean-build: | ||
${MAKE} -C docs/ clean | ||
${MAKE} -C docs/ image-build | ||
${MAKE} -C docs/ fix |
Oops, something went wrong.