;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&\207" [require cl-lib subr-x custom-declare-variable taskrunner-gradle-heading-regexps funcall function #[0 "\300\207" [("Build tasks\n-+\n" "Help tasks\n-+\n" "Verification tasks\n-+\n" "Documentation tasks\n-+\n" "Distribution tasks\n-+\n" "Other tasks\n-+\n" "Build Setup tasks\n-+\n" "IDE tasks tasks\n-+\n")] 1] "Regular expressions used to locate task section headings from gradle output." :type list :group taskrunner] 8) #@87 Retrieve the gradle tasks below the heading HEADING and return as list. (fn HEADING) (defalias 'taskrunner--retrieve-gradle-heading-tasks #[257 "~\210eb\210\300\301\302#\211\205%\211\300\303\301\302#\210\304y\210\305 }\210\306\307\310\311\312 \313\"#\207" [re-search-forward nil t "^$" -1 line-end-position cl-map list #[257 "\300\301\302\"@P\207" ["GRADLE " split-string " "] 5 "\n\n(fn ELEM)"] split-string buffer-string "\n"] 8 (#$ . 598)]) #@148 Retrieve the gradle tasks for the project in directory DIR. This function returns a list of the form: ("GRADLE TASK1" "GRADLE TASK2"...) (fn DIR) (defalias 'taskrunner-get-gradle-tasks #[257 "\211\302\303\304\302\305\304!\302\306%\210\307\310\311\"r\211q\210\312\313\"\216\305\304!q\210 \211\203<\211@\314!\211\2034\315\"\262\210A\266\202\202!\210\316 \210*\210)\207" [default-directory taskrunner-gradle-heading-regexps nil call-process "gradle" taskrunner--make-task-buff-name "tasks" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--retrieve-gradle-heading-tasks append kill-current-buffer] 10 (#$ . 1053)]) #@222 Retrieve all and tasks from the current buffer. This function is meant to be used with the output of `ant -verbose -p'. If you need to retrieve tasks from ant, use the function `taskrunner-get-ant-tasks' instead of this. (defalias 'taskrunner--retrieve-ant-tasks-from-buffer #[0 "eb\210\300\301\302\303#\302C\203*\304 \300\305!\210\306y\210\307 }\210\310\311\312\313\"\314\315 \316\"#\210~\210eb\210\300\317\302\303#\262\203^\304 \300\320\302\303#\203J\306y\210\307 \202Odb\210\307 }\210\310\311\312\321\"\314\315 \316\"#\210\322 \210\211\242\207" [search-forward-regexp "Main targets:\n\n" nil t point-at-bol "Other targets:" -1 point-at-eol cl-map list make-closure #[257 "\211\301\230?\205\300\302\303\304!\305\"@P\300\242B\240\207" [V0 #1="" "ANT " split-string string-trim " "] 6 "\n\n(fn ELEM)"] split-string buffer-string "\n" "Other targets:\n\n" "Default target:" #[257 "\211\301\230?\205\300\302\303\304!\305\"@P\300\242B\240\207" [V0 #1# "ANT " split-string string-trim " "] 6 "\n\n(fn ELEM)"] kill-current-buffer] 8 (#$ . 1758)]) #@139 Retrieve the ant tasks for the project in directory DIR. This function returns a list of the form: ("ANT TASK1" "ANT TASK2"...) (fn DIR) (defalias 'taskrunner-get-ant-tasks #[257 "\211\301\302\303\304\302!\303\305\306&\210\307\310\311\"r\211q\210\312\313\"\216\304\302!q\210\314 *\262)\207" [default-directory call-process "ant" nil taskrunner--make-task-buff-name "-verbose" "-p" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] taskrunner--retrieve-ant-tasks-from-buffer] 8 (#$ . 2822)]) (provide 'taskrunner-java)