<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 20 October 2014 18:30, Allan Odgaard <span dir="ltr"><<a href="mailto:mailinglist@textmate.org" target="_blank">mailinglist@textmate.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 20 Oct 2014, at 13:34, Carpii UK wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote></span>
Yes, it is only for default bundles, I should move the checkbox to the Bundles preferences page.</blockquote><div><br></div><div>The bundle I refer to is JSHint..<br></div><div><a href="https://github.com/bodnaristvan/JSHint.tmbundle">https://github.com/bodnaristvan/JSHint.tmbundle</a><br></div><div><br></div><div>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.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I'm wondering if I can hook into it somehow and have my third party<br>
git-based bundles updated also<br>
</blockquote>
<br></span>
Only if we add those bundles to the main index; if they are of general use, that should not be a problem.<br>
<br>
</blockquote><div><br></div><div>What would be really cool is if a bundle could specify two scripts which textmate would automatically invoke when its trying to update bundles</div><div><br></div><div>One script would check to see if a new version was available</div><div>The second script would run any procedure to update the bundle (such as git clone, make, and install etc).</div><div><br></div><div>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 </div><div>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.</div><div><br></div><div><br></div></div></div></div>