Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It should be possible to specify a completely custom command line to execute #1

Open
jkp opened this issue Oct 14, 2009 · 3 comments
Open

Comments

@jkp
Copy link

jkp commented Oct 14, 2009

Hi

I know you consider this functionality to be redundant now you have added more back-ends, but I for one would like a way to drive my build system which is needed in my case to set up the environment correctly for tests to function (setting LD_LIBRARY_PATH etc). Reconstructing the code to do this outside of that environment is really not a goer. Could you expose a way to provide "plugin" commands?

Thanks

@johnpaulett
Copy link

jkp, I'm trying to understand what you are trying to do--would you mind posting some examples of what you would want this to look like?

What are you trying to set before hand (e.g. environment variables, a test database, etc.)?

Thanks

@brunobord
Copy link
Owner

jkp: If I correctly understand what you want to do...

All you'd need to do is to grab this code (or fork it via Github), and edit the default command to be launched when a file has been changed. Tdaemon code is simple enough to be adapted to your needs. The MIT license allows you to hack tdaemon, eliminate the test commands and run whatever you want.

The only method to be modified could be "get_cmd", that shall return a simple string.
Hope this helps

@jkp
Copy link
Author

jkp commented Oct 30, 2009

Hey brunobord:

Yeah, thats certainly an option: I'll give it a look when I get a chance.

Thanks

Jamie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants