;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\313\323\324\325\311\312& \207" [require projectile cl-lib custom-declare-variable taskrunner-build-dir-list funcall function #[0 "\300\207" [("build" "Build" "buildDir" "builddir" "builds")] 1] "A list containing the name of build folders to be looked for." :group taskrunner :type list taskrunner-source-dir-list #[0 "\300\207" [("src" "Src" "source" "Source")] 1] "A list containing the name of source code folders to be looked for." taskrunner-retrieve-all-make-targets #[0 "\300\207" [t] 1] "Variable indicates whether or not to always retrieve targets starting with `_'." symbol :options (t nil)] 10) #@77 Regular expression used to locate all Makefile targets which are not PHONY. (defconst taskrunner--make-target-regexp-no-hidden "^[1-9a-zA-Z/\\-][1-9a-zA-Z-_/\\]*[[:space:]]*:" (#$ . 854)) #@77 Regular expression used to locate all Makefile targets which are not PHONY. (defconst taskrunner--make-target-regexp-hidden "^[1-9a-zA-Z-_/\\]+[[:space:]]*:" (#$ . 1048)) #@51 Command used to build up the database of targets. (defconst taskrunner--make-nqp-command "make -nqp __BASH_MAKE_COMPLETION__=1 .DEFAULT 2>/dev/null" (#$ . 1225)) #@69 Warning used to indicate that not build folder was found for CMake. (defconst taskrunner--cmake-warning "Taskrunner: Detected CMake build system but no build folder or Makefile were found! Please setup\nCMake for either insource or outsource build and then call emacs-taskrunner again!" (#$ . 1393)) #@167 Find all makefile targets from file called MAKEFILE-NAME located in DIR. If HIDDEN is non-nil then include targets which start with _. (fn DIR MAKEFILE-NAME HIDDEN) (defalias 'taskrunner-get-make-targets #[771 "\303\"\304!\305\211\203\202 \306\307\310\"r\211q\210\311\312\"\216\203)q\210\202.\313!\210\314\305\310#\203\213\315 \210\316 \262\317\305\310\320#)\266\203\204\206\321\305\310\320#)\266\203\204\206\322\305\310\320#)\266\203\204\206\323\305\310\320#)\266\203\204\206\324\325\"@B\262~\210\202.*\210\326\327  \"\210\330\331\332#\207" [taskrunner--make-target-regexp-hidden taskrunner--make-target-regexp-no-hidden inhibit-changing-match-data expand-file-name get-file-buffer nil generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] insert-file-contents search-forward-regexp taskrunner--narrow-to-line buffer-string ".:=.*" string-match "^PHONY" "^.PHONY" "^FORCE" split-string ":" taskrunner-add-to-build-cache projectile-project-root cl-map list #[257 "\300P\207" ["MAKE "] 3 "\n\n(fn ELEM)"]] 16 (#$ . 1700)]) #@72 Retrieve all cmake tasks for the project in directory ROOT. (fn ROOT) (defalias 'taskrunner-get-cmake-tasks #[257 "\301!\302\211\211\211\303\204+\211GX\203+\234\235\203$\234\262\304\262\211T\262\202\203I\305\"\262\301!\262\306\235\203I\307\306\302#\262\207" [taskrunner-build-dir-list directory-files nil 0 t expand-file-name "Makefile" taskrunner-get-make-targets] 11 (#$ . 2837)]) #@56 Retrieve all ninja tasks from directory DIR. (fn DIR) (defalias 'taskrunner-get-ninja-tasks #[257 "\211\301\302\303\301\304\303!\301\305\306&\210\307\310\311\"r\211q\210\312\313\"\216\304\303!q\210eb\210\314\315 \316\"\211\203B\211@\317\314\320\"@PB\262A\266\202\202*\210\321 \210*\210\211\203V\211A\262\322\323 \"\210)\207" [default-directory nil call-process "ninja" taskrunner--make-task-buff-name "-t" "targets" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] split-string buffer-string "\n" "NINJA " ":" kill-current-buffer taskrunner-add-to-build-cache projectile-project-root] 10 (#$ . 3258)]) #@77 Retrieve all Ninja tasks from a Meson project in directory ROOT. (fn ROOT) (defalias 'taskrunner-get-meson-tasks #[257 "\301!\302\211\211\211\303\204+\211GX\203+\234\235\203$\234\262\304\262\211T\262\202\203;\305\"\262\306!\262\207" [taskrunner-build-dir-list directory-files nil 0 t expand-file-name taskrunner-get-ninja-tasks] 10 (#$ . 3943)]) (provide 'taskrunner-clang)