On 20 October 2014 18:30, Allan Odgaard <mailinglist@textmate.org> wrote:
On 20 Oct 2014, at 13:34, Carpii UK wrote:

Yes, it is only for default bundles, I should move the checkbox to the Bundles preferences page.

The  bundle I refer to is JSHint..
https://github.com/bodnaristvan/JSHint.tmbundle

But it requires jshint npm module to be installed (globally I think), so Im not sure it meets your bundle guidelines in a way that it could be added to the main index - I might be wrong though.


I'm wondering if I can hook into it somehow and have my third party
git-based bundles updated also

Only if we add those bundles to the main index; if they are of general use, that should not be a problem.


What would be really cool is if a bundle could specify two scripts which textmate would automatically invoke when its trying to update bundles

One script would check to see if a new version was available
The second script would run any procedure to update the bundle (such as git clone, make, and install etc).

Admittedly I don't have a huge understanding of bundles in TM2, but on the face of it it seems like it would be a really nice addition 
It would also mean you could install third party bundles which are capable of auto-updating themselves, without needing to be added to the TM index.