mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build scripts: added to gant files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user