vlsi commented on issue #104: CALCITE-3158: Avatica: migrate build system to 
Gradle
URL: https://github.com/apache/calcite-avatica/pull/104#issuecomment-552226225
 
 
   Just in case, I think Gradle is pretty good with integrated help.
   
   For instance:
   
   ```
   $ ./gradlew
   ...
   To run a build, run gradlew <task> ...
   
   To see a list of available tasks, run gradlew tasks
   
   To see a list of command-line options, run gradlew --help
   
   To see more detail about a task, run gradlew help --task <task>
   ```
   
   ```
   $ ./gradlew tasks
   
   ...
   Build tasks
   -----------
   assemble - Assembles the outputs of this project.
   build - Assembles and tests this project.
   buildDependents - Assembles and tests this project and all projects that 
depend on it.
   buildNeeded - Assembles and tests this project and all projects it depends 
on.
   classes - Assembles main classes.
   clean - Deletes the build directory.
   generatePom - Generate pom.xml files (see build/publications/core/pom*.xml)
   jar - Assembles a jar archive containing the main classes.
   license - Generates LICENSE file for the source distribution
   testClasses - Assembles test classes
   ...
   Release tasks
   -------------
   prepareVote - Stage artifacts and prepare text for vote mail
   publishDist - Publish release artifacts to SVN and Nexus
   removeStaleArtifacts - Removes stale artifacts from dist.apache.org (dry run 
with -PasfDryRun)
   ...
   Verification tasks
   ------------------
   check - Runs all checks.
   forbiddenApis - Runs forbidden-apis checks.
   rat - Runs Apache Rat audit tool
   test - Runs the unit tests.
   ...
   ```
   
   It is not perfect, but it is quite good, and I think howto should not try to 
duplicate that.
   In other words, I would invest time in perfecting `./gradlew tasks` output 
rather than in updating basic instructions in `howto.md`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to