build scripts: added to gant files

This commit is contained in:
nik
2017-04-10 14:38:36 +03:00
parent 5b6e9ffc6e
commit b165bd54c4
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -17,6 +17,10 @@ import org.jetbrains.intellij.build.TestingTasks
import org.jetbrains.intellij.build.impl.CompilationContextImpl
import org.jetbrains.jps.idea.IdeaProjectLoader
/**
* Compiles the sources and runs tests from 'community' project. Look at org.jetbrains.intellij.build.TestingOptions to see which options are
* supported.
*/
target("default": "Run tests") {
String home = IdeaProjectLoader.guessHome(this)
String outputDir = "$home/out/tests"
@@ -10,6 +10,9 @@ If you want to build a product from sources locally, run the corresponding *.gan
system property to build artifacts only for a specific OS, and set {@linkplain org.jetbrains.intellij.build.BuildOptions#buildStepsToSkip 'intellij.build.skip.build.steps'}
system property to skip some long build steps (e.g. scrambling). See {@link org.jetbrains.intellij.build.BuildOptions BuildOptions} class for more options.
</p>
<p>
In order to run a gant script without IntelliJ IDEA you can use build/gant.xml Ant file and pass path to the gant script via gant.script property.
</p>
<p>
If you want to add a new module to an existing product, add its name to {@link org.jetbrains.intellij.build.ProductModulesLayout#platformApiModules
platformApiModules/platformImplementationModules}. If the module is part of IntelliJ Platform and needs to be included into all products