Stub apps
This commit is contained in:
parent
f0cdca6147
commit
a85d774f73
1 changed files with 18 additions and 0 deletions
|
|
@ -93,6 +93,24 @@ This returns nil if no project is found."
|
||||||
(interactive)
|
(interactive)
|
||||||
(customize-group 'whaler))
|
(customize-group 'whaler))
|
||||||
|
|
||||||
|
(defcustom apps-directory nil
|
||||||
|
"Directory that contains apps within the current folder.
|
||||||
|
Set this in .dir-locals.el."
|
||||||
|
:type 'string
|
||||||
|
:group 'theurgy
|
||||||
|
:group 'theurgy-projects)
|
||||||
|
|
||||||
|
(defcustom apps-commands nil
|
||||||
|
"Commands to run on apps in the given directory. An alist of symbols, for example:
|
||||||
|
'((start . \"npm run start\"))"
|
||||||
|
:type 'alist
|
||||||
|
:group 'theurgy
|
||||||
|
:group 'theurgy-projects)
|
||||||
|
|
||||||
|
(defun run-app-command ()
|
||||||
|
"Run a command from APPS-COMMANDS, in one of the subfolders of APPS-DIRECTORY."
|
||||||
|
(interactive))
|
||||||
|
|
||||||
(provide 'theurgy-projects)
|
(provide 'theurgy-projects)
|
||||||
|
|
||||||
;;; theurgy-projects.el ends here
|
;;; theurgy-projects.el ends here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue