-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
NodeTask's getScript should be Relative sensitivity #41
Comments
Thanks for this contribution that makes the plugin better. You are right, the path sensitivity should be relative and the I just come to fix it in the master branch. |
Hum, changing @deepy , if it is possible, don't you think we should try to integrate these integration examples in our integration tests so that they are automatically ran by In the example that is broken, the Node.js script is called I think we should let |
I believe leaving it as
If I change I believe the fact that My 2 cents! |
I agree with you, this would be better replacing @deepy , are you okay to make this change and thus introducing a backward-compatibility break? It can be fixed very quickly for instance in the example project by replacing |
I guess the easiest way is to note this change for the next milestone and in the getter for |
…tFile is enough, we don't need @InputFiles. In the case the script is a directory, we consider it to be the index.js file of this directory. This avoids a backward-compatibility break but logs a warning message to indicate that it will be removed in the next major version.
That's a nice way to handle this issue @deepy. |
Again apologies for not directly raising a PR due to my company's open source contribution rules.
In
NodeTask
, there is an@InputFiles
annotation ongetScript
, which is the script used to execute withnode
. To allow caching to work properly across different machines, then this should be annotated with the relative path annotation (andInputFiles
should beInputFile
):Thanks!
The text was updated successfully, but these errors were encountered: