Merge pull request #3093 from sei40kr/taskrunner
Add tools/taskrunner module
This commit is contained in:
commit
220916ae17
7 changed files with 84 additions and 3 deletions
38
modules/tools/taskrunner/README.org
Normal file
38
modules/tools/taskrunner/README.org
Normal file
|
@ -0,0 +1,38 @@
|
|||
#+TITLE: tools/taskrunner
|
||||
#+DATE: November 9, 2019
|
||||
#+SINCE: {replace with next tagged release version}
|
||||
#+STARTUP: inlineimages
|
||||
|
||||
* Table of Contents :TOC_3:noexport:
|
||||
- [[#description][Description]]
|
||||
- [[#module-flags][Module Flags]]
|
||||
- [[#plugins][Plugins]]
|
||||
- [[#prerequisites][Prerequisites]]
|
||||
- [[#features][Features]]
|
||||
- [[#configuration][Configuration]]
|
||||
- [[#troubleshooting][Troubleshooting]]
|
||||
|
||||
* Description
|
||||
This module integrates [[https://github.com/emacs-taskrunner/emacs-taskrunner][Taskrunner]] into Doom Emacs, which scraps runnable tasks
|
||||
from build systems like make, gradle, npm and the like.
|
||||
|
||||
** Module Flags
|
||||
This module provides no flags.
|
||||
|
||||
** Plugins
|
||||
+ [[https://github.com/emacs-taskrunner/emacs-taskrunner][emacs-taskrunner]]
|
||||
+ [[https://github.com/emacs-taskrunner/ivy-taskrunner][ivy-taskrunner]]
|
||||
+ [[https://github.com/emacs-taskrunner/helm-taskrunner][helm-taskrunner]]
|
||||
|
||||
* Prerequisites
|
||||
This module has no prereqisites.
|
||||
|
||||
* Features
|
||||
Keybindings
|
||||
|
||||
| Binding | Description |
|
||||
| ~p z~ | ~List project tasks~ |
|
||||
|
||||
* Configuration
|
||||
|
||||
* Troubleshooting
|
9
modules/tools/taskrunner/autoload.el
Normal file
9
modules/tools/taskrunner/autoload.el
Normal file
|
@ -0,0 +1,9 @@
|
|||
;;; app/taskrunner/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +taskrunner/project-tasks ()
|
||||
"Invokes `ivy-taskrunner' or `helm-tasksrunner', depending on which is
|
||||
available."
|
||||
(interactive)
|
||||
(cond ((featurep! :completion ivy) (ivy-taskrunner))
|
||||
((featurep! :completion helm) (helm-taskrunner))))
|
11
modules/tools/taskrunner/config.el
Normal file
11
modules/tools/taskrunner/config.el
Normal file
|
@ -0,0 +1,11 @@
|
|||
;;; tools/taskrunner/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! helm-taskrunner
|
||||
:when (featurep! :completion helm)
|
||||
:defer t
|
||||
:config (helm-taskrunner-minor-mode +1))
|
||||
|
||||
(use-package! ivy-taskrunner
|
||||
:when (featurep! :completion ivy)
|
||||
:defer t
|
||||
:config (ivy-taskrunner-minor-mode +1))
|
14
modules/tools/taskrunner/packages.el
Normal file
14
modules/tools/taskrunner/packages.el
Normal file
|
@ -0,0 +1,14 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; tools/taskrunner/packages.el
|
||||
|
||||
(package! taskrunner :pin "716323aff410b4d864d137c9ebe4bbb5b8587f5e")
|
||||
|
||||
(when (featurep! :completion helm)
|
||||
(package! helm-taskrunner
|
||||
:pin "70ef8117aafdc01a1f06151a82cecb9a2fcf4d32"
|
||||
:recipe (:host github :repo "emacs-taskrunner/helm-taskrunner")))
|
||||
|
||||
(when (featurep! :completion ivy)
|
||||
(package! ivy-taskrunner
|
||||
:pin "c731ee6279f65061ef70e79d3818ea1d9678e6da"
|
||||
:recipe (:host github :repo "emacs-taskrunner/ivy-taskrunner")))
|
Loading…
Add table
Add a link
Reference in a new issue