在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):ldaley/gradle.tmbundle开源软件地址(OpenSource Url):https://github.com/ldaley/gradle.tmbundle开源编程语言(OpenSource Language):Ruby 100.0%开源软件介绍(OpenSource Introduction):Provides the ability to run Gradle commands from within TextMate.
Running commandsTo run a Gradle command, with any file open, press There is a predefined set of common tasks, and a “Run Command…” item that will prompt with a dialog where you can enter the arguments to be passed to TargetingThe command menu contains items with
Project StructureThe default behaviour is to determine the module name by taking it's relative path from the project root and substituting the forward slashes with colons. So given the following project structure…
The bundle will use the following as the names for the modules…
However you may have your
So TextMate can correctly target the module you are asking it to, you need to create a script that takes the module path as input and writes its name as output. This script must be located at
We are using Ruby here, but it could be anything… it just needs to be an exectuable that takes the default assumed path (i.e. The Previous CommandThe “Run Previous Command” item will always re-run the most recently executed command, regardless of whether it was a project or module targeted command. Running A Single TestThe “Test Selected File” command runs the command to run the open file in the editor as the single test… Output Filtering FeaturesCompile ErrorsThe filename and line number of output as part of each compile error for Java and Groovy source is a link that will take you to the line of the file which the compile error. Failed TestsThe output message for each individual test class failure is linked to the corresponding XML test report which will open in TextMate when clicked. The output message pointing to the HTML test report on test failure is converted into a link that when clicked opens the test report in your browser. NotificationsAt the end of the command, a Growl notification will be raised with the result of the command. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论