Skip to content

Commit

Permalink
Add convenience for-release make target
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon VanAlten committed Nov 28, 2014
1 parent b2aca66 commit 766a50b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ endif
# 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)

Expand Down Expand Up @@ -67,4 +70,4 @@ plugin_docs.html:
$(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
6 changes: 4 additions & 2 deletions distribution/tools/update-version
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ echo ""
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

0 comments on commit 766a50b

Please sign in to comment.