Repository: incubator-groovy Updated Branches: refs/heads/GROOVY_2_4_X a9d0ef4e8 -> b5e984742
Give some visibility on how to build documentation and to run a single documentation test case. Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/d1095216 Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/d1095216 Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/d1095216 Branch: refs/heads/GROOVY_2_4_X Commit: d1095216f313a4c00b31d1b3c0664806fb61ec9f Parents: a9d0ef4 Author: Marc Paquette <mar...@mac.com> Authored: Mon Mar 9 07:58:32 2015 -0400 Committer: Paul King <pa...@asert.com.au> Committed: Wed May 6 21:56:28 2015 +1000 ---------------------------------------------------------------------- README.adoc | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/d1095216/README.adoc ---------------------------------------------------------------------- diff --git a/README.adoc b/README.adoc index beda68b..a7c4009 100644 --- a/README.adoc +++ b/README.adoc @@ -65,6 +65,17 @@ To build from Eclipse Then open the generated project and the generated subprojects in Eclipse. But be aware that Eclipse tends to be more limited in its ability to reproduce a gradle build structure. The generated project files may contain a circular dependency which may or may not prevent Eclipse from using them. It depends on the Eclipse version, if this is an issue or not. +To build the documentation (Groovy Language Documentation) + + ./gradlew assembleAsciidoc + +All code samples of the documentation guide are pulled from actual test cases. To run a single documentation test case, take for example `src/spec/test/semantics/PowerAssertTest.groovy` + + ./gradlew testSinglePowerAssertTest + +(note the omission of package name : class is `semantics.PowerAssertTest` but only `PowerAssertTest` is added to `testSingle`). + + == InvokeDynamic support The Groovy build supports the new Java 7 JVM instruction `invokedynamic`. If you want to build Groovy with invokedynamic, you can use the project property `indy`: