Closed thomasf closed 9 years ago
Instead of:
(prodigy-define-service
:name "Foo"
:command "./bin/foo"
:cwd "/path/to/foo")
Try this:
(prodigy-define-service
:name "Foo"
:command "foo"
:path "/path/to/foo/bin"
:foo "/path/to/foo")
Even better (if you keep you binaries in ./bin
) is to create a tag:
(prodigy-define-tag
:name 'bin
:hide t
:path (lambda ()
(f-expand "bin" default-directory)))
And use it like this:
(prodigy-define-service
:name "Foo"
:command "foo"
:cwd "/path/to/foo"
:tags '(bin))
Ah, I did miss the path variable, thanks.
It's not a big problem since a lambda and file-truename can take care of it but it's still unexpected.