File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ MAJOR_VERSION? =3
2
+ PLUGINDEV_PROJECT_DIR? =/Users/andrew/webdev/sites/plugindev/cms_v${MAJOR_VERSION}/
3
+ VENDOR? =nystudio107
4
+ PROJECT_PATH? =${VENDOR}/$(shell basename $(CURDIR ) )
5
+
6
+ .PHONY : dev docs release
7
+
8
+ # Start up the buildchain dev server
9
+ dev :
10
+ # Start up the docs dev server
11
+ docs :
12
+ ${MAKE} -C docs/ dev
13
+ # Run code quality tools, tests, and build the buildchain & docs in preparation for a release
14
+ release : --code-quality --code-tests --buildchain-clean-build --docs-clean-build
15
+ # The internal targets used by the dev & release targets
16
+ --buildchain-clean-build :
17
+ --code-quality :
18
+ ${MAKE} -C ${PLUGINDEV_PROJECT_DIR} -- ecs check vendor/${PROJECT_PATH} /src --fix
19
+ ${MAKE} -C ${PLUGINDEV_PROJECT_DIR} -- phpstan analyze -c vendor/${PROJECT_PATH} /phpstan.neon
20
+ --code-tests :
21
+ --docs-clean-build :
22
+ ${MAKE} -C docs/ clean
23
+ ${MAKE} -C docs/ image-build
24
+ ${MAKE} -C docs/ fix
You can’t perform that action at this time.
0 commit comments