Mercurial > hg > release > thermostat-1.2
changeset 1618:9d3661b3cb22 before-thread-monitor-overhaul-and-experimental-storage-api
Add convenience for-release make target
reviewed-by: jerboaa
review-thread: http://icedtea.classpath.org/pipermail/thermostat/2014-November/011824.html
author | Jon VanAlten <jon.vanalten@redhat.com> |
---|---|
date | Thu, 27 Nov 2014 23:21:59 -0700 |
parents | ae48dec4e9a8 |
children | 17a438c3e8f9 |
files | Makefile distribution/tools/update-version |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Dec 10 20:13:14 2014 -0500 +++ b/Makefile Thu Nov 27 23:21:59 2014 -0700 @@ -28,6 +28,9 @@ # Default to just building core all: core +# At release, also check archetypes +for-release: core verify-archetypes + core: $(MAVEN) -f $(POM) $(MAVEN_FLAGS) $(MAVEN_SKIP_TEST) clean $(GOAL) $(MAVEN_JAVADOC) @@ -67,4 +70,4 @@ $(XSLTPROC) distribution/tools/plugin-docs-html.xslt merged-plugin-docs.xml > $@ # We only have phony targets -.PHONY: all core verify-archetype-ext verify-archetype-multimodule core-install create-repo-dir clean-repo echo-repo plugin-docs +.PHONY: all for-release core verify-archetypes verify-archetype-ext verify-archetype-multimodule skip-tests-and-install core-install create-repo-dir clean-repo echo-repo plugin-docs
--- a/distribution/tools/update-version Wed Dec 10 20:13:14 2014 -0500 +++ b/distribution/tools/update-version Thu Nov 27 23:21:59 2014 -0700 @@ -152,7 +152,9 @@ find_and_warn_incomplete echo "" echo "Before you commit, tag, or release, be sure to run a full build and" -echo "run all tests. The easiest way to do this is to run \"make\" from" -echo "the root of the repository." +echo "run all tests. The easiest way to do this is to run \"make for-release\"" +echo "from the root of the repository. In addition to the full build with" +echo "unit and integration tests, this also runs tests which verify the maven" +echo "archetypes that plugin developers rely on to set up their projects." exit 0