• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

jacobono/emacs-gradle-mode: minor mode for emacs to run gradle from emacs and no ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

jacobono/emacs-gradle-mode

开源软件地址(OpenSource Url):

https://github.com/jacobono/emacs-gradle-mode

开源编程语言(OpenSource Language):

Emacs Lisp 76.7%

开源软件介绍(OpenSource Introduction):

emacs-gradle-mode

[Build Status] (https://travis-ci.org/jacobono/emacs-gradle-mode)

Minor mode for emacs to run gradle from emacs and not have to go to a terminal!

Installation

Available on MELPA:

M-x package-install gradle-mode

Or you can just dump gradle-mode.el in your load path somewhere.

After installation, you can configure this mode to always be on with:

(require 'gradle-mode)

(gradle-mode 1)

Or just

M-x gradle-mode

when you are ready to use it.

Keybindings

  • C-c C-g b
    • run gradle build
  • C-c C-g t
    • run gradle test
  • C-c C-g s
    • run gradle test -Dsingle.test="user-supplied"
    • User supplies test to run from prompt
  • C-c C-g C-d b
    • run gradle build --daemon
  • C-c C-g C-d t
    • run gradle test --daemon
  • C-c C-g C-d s
    • run gradle -Dsingle.test="user-supplied" --daemon
    • User supplies test to run from prompt
  • C-c C-g d
    • run gradle "user-supplied" --daemon
    • User supplies tasks to run from prompt
  • C-c C-g r
    • run gradle "user-supplied"
    • User supplies tasks to run from prompt

The prefix C-d runs the command with gradle's daemon, or creates one if it is not already present.

Limitations

Currently, the only versions of emacs that are passing are 24.3. I plan on trying to look into it more, but both Travis and drone are barfing when I try and run the tests with <24.3.

Contribute

If you want to contribute, please fork and submit a pull request!

Changlog

0.5.5

  • gradlew support added. Will find nearest gradlew file and run if gradle-use-gradlew is turned on

0.5.4

  • CI is breaking from 0.5.4, only version of Emacs that tests execute appropriately is 24.3

0.5.3

  • losing dependencies on f and dash
  • gradle-project-find-dir uses locate-dominating-file instead of f-traverse-upwards

0.5.2

  • mode lighter string changed from gra to Gradle

0.5

  • First Release



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
sxfad/gradle-scripts: 简化Gradle 配置, Gradle文件标准化发布时间:2022-06-11
下一篇:
Sponsor @brunoborges on GitHub Sponsors · GitHub发布时间:2022-06-11
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap