# 运行 Gant targets

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/idea/llms.txt).

## 简介

通过 IntelliJ IDEA，可以使用临时运行/调试配置运行整个 Gant 脚本或分别运行每个 target 。 可以将脚本或目标的临时运行配置保存为永久配置。

结果显示在 [运行工具窗口](run-tool-window.html)中。

## 运行 Gant 脚本

1.  选择所需的 Gant 脚本，并使用默认的运行/调试配置 [运行它](running-applications.html)。

## 运行 Gant 目标

1.  在编辑器中打开所需的 Gant 脚本，并将文本光标放置在要执行的 Gant 目标位置。

2.  在上下文菜单中选择  `运行 "<script><target>"`

## See also

### 概念

[运行/调试配置](run-debug-configuration.html)

### 过程

[Groovy](groovy.html) [运行应用程序](running-applications.html)

