;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\210\303\304\305\306\307DD\310\311\312\313\314&\210\303\315\305\306\316DD\317\311\312\313\314&\210\303\320\305\306\321DD\322\311\312\313\314&\210\303\323\305\306\324DD\325\311\312\313\314&\210\303\326\305\306\327DD\330\311\312\313\314&\210\303\331\305\306\332DD\333\311\312\313\314&\207" [require projectile cl-lib custom-declare-variable taskrunner-go-task-bin-path funcall function #[0 "\300\207" [#1="~/go/bin/"] 1 #1#] "Path used to locate the `task' taskrunner binary." :group taskrunner :type string taskrunner-mage-bin-path #[0 "\300\207" [#2="~/go/bin/"] 1 #2#] "Path used to locate the `mage' taskrunner binary." taskrunner-doit-bin-path #[0 "\300\207" [#3="~/.local/bin/"] 1 #3#] "Path used to locate the `doit' taskrunner binary." taskrunner-tusk-bin-path #[0 "\300\207" [#4="~/clones/tusk-test/"] 1 #4#] "Path to the Tusk taskrunner binary." taskrunner-dobi-bin-path #[0 "\300\207" [#5="~/"] 1 #5#] "Path to the folder containing the Dobi taskrunner binary." taskrunner-dobi-bin-name #[0 "\300\207" [#6="dobi-linux"] 1 #6#] "Name of the Dobi taskrunner binary."] 8) #@117 Retrieve all go tasks from the currently visited buffer. The tasks are returned in the form: ("TASK TASK-NAME" ...) (defalias 'taskrunner--get-go-tasks-from-buffer #[0 "\300eb\210\301\302\300\303#\203#\304 \210\305\211\306 \307\"A@\310\"@B\262~\210\202\311 \210\211\2030\312\313\314#\207\207" [nil search-forward-regexp "^*" t taskrunner--narrow-to-line split-string buffer-string " " ":" kill-current-buffer cl-map list #[257 "\300P\207" ["TASK "] 3 "\n\n(fn ELEM)"]] 5 (#$ . 1206) nil]) #@149 Retrieve the golang Task tasks for the project in directory DIR. This function returns a list of the form: ("TASK TASK1" "TASK TASK2"...) (fn DIR) (defalias 'taskrunner-get-go-task-tasks #[257 "\211 B\303\304\305\306\307!\305\310%\210\311\312\313\"r\211q\210\314\315\"\216\306\307!q\210\316 *\262*\207" [taskrunner-go-task-bin-path exec-path default-directory call-process "task" nil taskrunner--make-task-buff-name "go-task" "-l" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--get-go-tasks-from-buffer] 7 (#$ . 1710)]) #@60 Retrieve all mage tasks from the currently visited buffer. (defalias 'taskrunner--get-mage-tasks-from-buffer #[0 "\300\211eb\210\301\302\300\303#\262\211\203;\304 d}\210\305\306 \307\"\211\203:\211@\305\310\303#@B\262@\2043A\262A\266\202\202\210\311 \210\312\313\314#\207" [nil search-forward-regexp "Targets:\n" t point-at-bol split-string buffer-string "\n" " " kill-current-buffer cl-map list #[257 "\300P\207" ["MAGE "] 3 "\n\n(fn ELEM)"]] 8 (#$ . 2319)]) #@142 Retrieve the mage tasks for the project in directory DIR. This function returns a list of the form: ("MAGE TASK1" "MAGE TASK2"...) (fn DIR) (defalias 'taskrunner-get-mage-tasks #[257 "\211 B\303\304\305\306\304!\305\307%\210\310\311\312\"r\211q\210\313\314\"\216\306\304!q\210\315 *\262*\207" [taskrunner-mage-bin-path exec-path default-directory call-process "mage" nil taskrunner--make-task-buff-name "-l" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--get-mage-tasks-from-buffer] 7 (#$ . 2801)]) #@50 Retrieve all doit tasks from the current buffer. (defalias 'taskrunner--get-doit-tasks-from-buffer #[0 "eb\210\300\301\302 \303\"\211\203!\211@\304\301\305\"@PB\262A\266\202\202 \210\306 \210\211\203-\211A\262\207" [nil split-string buffer-string "\n" "DOIT " " " kill-current-buffer] 7 (#$ . 3389)]) #@142 Retrieve the mage tasks for the project in directory DIR. This function returns a list of the form: ("DOIT TASK1" "DOIT TASK2"...) (fn DIR) (defalias 'taskrunner-get-doit-tasks #[257 "\211 B\303\304\305\306\304!\305\307%\210\310\311\312\"r\211q\210\313\314\"\216\306\304!q\210\315 *\262*\207" [taskrunner-doit-bin-path exec-path default-directory call-process "doit" nil taskrunner--make-task-buff-name "list" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--get-doit-tasks-from-buffer] 7 (#$ . 3705)]) #@50 Retrieve all just tasks from the current buffer. (defalias 'taskrunner--get-just-tasks-from-buffer #[0 "eb\210\300\301\302\300\303#\205&\304 d}\210\305\306\307\310\311 \312\"#\262\313 \210\211\205&\314!\207" [nil search-forward-regexp "Available recipes:\n" t point-at-bol cl-map list #[257 "\300\301\302\303#@P\207" ["JUST " split-string " " t] 6 "\n\n(fn ELEM)"] split-string buffer-string "\n" kill-current-buffer butlast] 7 (#$ . 4295)]) #@142 Retrieve the mage tasks for the project in directory DIR. This function returns a list of the form: ("JUST TASK1" "JUST TASK2"...) (fn DIR) (defalias 'taskrunner-get-just-tasks #[257 "\211\301\302\303\304\302!\303\305%\210\306\307\310\"r\211q\210\311\312\"\216\304\302!q\210\313 *\262)\207" [default-directory call-process "just" nil taskrunner--make-task-buff-name "--list" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--get-just-tasks-from-buffer] 7 (#$ . 4749)]) #@50 Retrieve all mask tasks from the current buffer. (defalias 'taskrunner--get-mask-tasks-from-buffer #[0 "eb\210\300\301\302\300\303#\205\"\304 d}\210\305\306\307\310\311 \312\"#\262\313 \210\314!\207" [nil search-forward-regexp "SUBCOMMANDS:\n" t point-at-bol cl-map list #[257 "\300\301\302\303#@P\207" ["MASK " split-string " " t] 6 "\n\n(fn ELEM)"] split-string buffer-string "\n" kill-current-buffer butlast] 7 (#$ . 5302)]) #@142 Retrieve the mage tasks for the project in directory DIR. This function returns a list of the form: ("MASK TASK1" "MASK TASK2"...) (fn DIR) (defalias 'taskrunner-get-mask-tasks #[257 "\211\301\302\303\304\302!\303\305%\210\306\307\310\"r\211q\210\311\312\"\216\304\302!q\210\313 *\262)\207" [default-directory call-process "mask" nil taskrunner--make-task-buff-name "--help" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--get-mask-tasks-from-buffer] 7 (#$ . 5741)]) #@56 Retrieve all cargo-make tasks from the current buffer. (defalias 'taskrunner--get-cargo-make-tasks-from-buffer #[0 "eb\210\300\211\211\301\302\300\303#\203F\304 \262\301\305\300\303#\210\306y\210\307 \262}\210\310\311 \312\"\211\203@\211@\313\310\314\"@PB\262A\266\202\202(\210~\210\202\315 \210\207" [nil search-forward-regexp "^-+\n" t point-at-bol "^$" -1 point-at-eol split-string buffer-string "\n" "CARGO-MAKE " " " kill-current-buffer] 9 (#$ . 6294)]) #@154 Retrieve the mage tasks for the project in directory DIR. This function returns a list of the form: ("CARGO-MAKE TASK1" "CARGO-MAKE TASK2"...) (fn DIR) (defalias 'taskrunner-get-cargo-make-tasks #[257 "\211\301\302\303\304\305!\303\306\307&\210\310\311\312\"r\211q\210\313\314\"\216\304\305!q\210\315 *\262)\207" [default-directory call-process "cargo" nil taskrunner--make-task-buff-name "cargo-make" "make" "--list-all-steps" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--get-cargo-make-tasks-from-buffer] 8 (#$ . 6774)]) #@51 Retrieve all tusk tasks from buffer if any exist. (defalias 'taskrunner--get-tusk-tasks-from-buffer #[0 "eb\210\300\301\302\303#\302\211\203B\304y\210\305 \262\300\306\302\303#\210\305 \262}\210\307\310 \311\"\211\203A\211@\312\307\313\303#@PB\262A\266\202\202(\210\314 \210\211\203M\211A\262\207" [search-forward-regexp "^Tasks:" nil t 1 point-at-bol "^$" split-string buffer-string "\n" "TUSK " " " kill-current-buffer] 10 (#$ . 7387)]) #@142 Retrieve the Tusk tasks for the project in directory DIR. This function returns a list of the form: ("TUSK TASK1" "TUSK TASK2"...) (fn DIR) (defalias 'taskrunner-get-tusk-tasks #[257 "\211 B\303\304\305\306\304!\305\307%\210\310\311\312\"r\211q\210\313\314\"\216\306\304!q\210\315 *\262*\207" [taskrunner-tusk-bin-path exec-path default-directory call-process "tusk" nil taskrunner--make-task-buff-name "--help" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--get-tusk-tasks-from-buffer] 7 (#$ . 7847)]) #@59 Retrieve all tasks from the buidler if any are available. (defalias 'taskrunner--get-buidler-tasks-from-buffer #[0 "eb\210\301\302\303\304#\303\211\203?\305 \262\301\306\303\304#\210\305 \262}\210\307\310 \311\"\211\203>\211@\312\307\304#@PB\262A\266\202\202%\210\313 \210\211\203J\211A\262\207" [split-string-default-separators search-forward-regexp "^AVAILABLE TASKS:\n\n" nil t point-at-bol "^$" split-string buffer-string "\n" "BUIDLER " kill-current-buffer] 10 (#$ . 8439)]) #@205 Retrieve the Buidler tasks for the project in directory DIR. This function returns a list of the form: ("BUIDLER TASK1" "BUIDLER TASK2"...) This function assumes that you have `npx' installed. (fn DIR) (defalias 'taskrunner-get-buidler-tasks #[257 "\211\301\302\303\304\305!\303\305\306&\210\307\310\311\"r\211q\210\312\313\"\216\304\305!q\210\314 *\262)\207" [default-directory call-process "npx" nil taskrunner--make-task-buff-name "buidler" "--help" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--get-buidler-tasks-from-buffer] 8 (#$ . 8941)]) #@59 Retrieve all dobi tasks from buffer if any are available. (defalias 'taskrunner--get-dobi-tasks-from-buffer #[0 "eb\210\301\302\303\304#\303\2031\305 d}\210\306\307 \310\"\211\2030\211@\311\306\304#@PB\262A\266\202\202\210\211\2039\211A\262\312 \210\207" [split-string-default-separators search-forward-regexp "Resources:\n" nil t point-at-bol split-string buffer-string "\n" "DOBI " kill-current-buffer] 9 (#$ . 9577)]) #@142 Retrieve the dobi tasks for the project in directory DIR. This function returns a list of the form: ("DOBI TASK1" "DOBI TASK2"...) (fn DIR) (defalias 'taskrunner-get-dobi-tasks #[257 "\211 B\304 \305\306\307!\305\310%\210\311\312\313\"r\211q\210\314\315\"\216\306\307!q\210\316 *\262*\207" [taskrunner-dobi-bin-path exec-path default-directory taskrunner-dobi-bin-name call-process nil taskrunner--make-task-buff-name "dobi" "list" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--get-dobi-tasks-from-buffer] 7 (#$ . 10017)]) (provide 'taskrunner-general)