You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2015/07/22 16:13:39 UTC

[12/12] zest-qi4j git commit: ZEST-25 checkSrcDist task now run ‘check assemble’ inside source dist

ZEST-25 checkSrcDist task now run ‘check assemble’ inside source dist


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/ed865c6a
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/ed865c6a
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/ed865c6a

Branch: refs/heads/develop
Commit: ed865c6af6711c8a5dcc317ff6deee4021840723
Parents: 57a1858
Author: Paul Merlin <pa...@apache.org>
Authored: Wed Jul 22 15:55:54 2015 +0200
Committer: Paul Merlin <pa...@apache.org>
Committed: Wed Jul 22 15:55:54 2015 +0200

----------------------------------------------------------------------
 README.txt   | 4 ++--
 build.gradle | 7 ++-----
 2 files changed, 4 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/ed865c6a/README.txt
----------------------------------------------------------------------
diff --git a/README.txt b/README.txt
index 8cedbd6..d460a77 100644
--- a/README.txt
+++ b/README.txt
@@ -49,9 +49,9 @@ installation.
 If you want to build the Zest™ manual, then you also need a valid Asciidoc
 (http://www.methods.co.nz/asciidoc/) installation.
 
-Here is how to run a full build:
+Here is how to run a full build with checks:
 
-    ./gradlew buildAll
+    ./gradlew check assemble
 
 Read the Zest™ Build System tutorial for more details:
 https://zest.apache.org/java/latest/build-system.html

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/ed865c6a/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index a5fd847..4125350 100644
--- a/build.gradle
+++ b/build.gradle
@@ -870,9 +870,6 @@ task dist( type: Copy, dependsOn: install ) {
 }
 
 // Tasks for source and binary distributions checks
-// - Run the check task of this very build inside the source distribution
-// - Rat the binary distribution (not pulled by checkDists as it takes ages to complete)
-// - Use the dependencies download facility of the binary distribution to "go offline"
 def unpackedSrcDistDir = file( "build/unpacked-distributions/src/apache-zest-java-$version-src" )
 def unpackedBinDistDir = file( "build/unpacked-distributions/bin/apache-zest-java-$version-bin" )
 task unpackSrcDist( type: Copy ) {
@@ -882,10 +879,10 @@ task unpackSrcDist( type: Copy ) {
   into 'build/unpacked-distributions/src'
 }
 task checkSrcDist( type: GradleBuild, dependsOn: unpackSrcDist ) {
-  description = "Check the source distribution by running the 'check' task inside"
+  description = "Check the source distribution by running the 'check' and 'assemble' tasks inside"
   group = "distributions"
   buildFile = "$unpackedSrcDistDir/build.gradle"
-  tasks = [ 'check' ]
+  tasks = [ 'check', 'assemble' ]
 }
 task unpackBinDist( type: Copy, dependsOn: buildAll ) {
   description "Unpack the binary distribution"