<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">That was it!<div class=""><br class=""></div><div class="">Thanks, I had been playing with every combination of / and \ and “” I could think of.</div><div class=""><br class=""></div><div class="">It’s time to learn more about TextMate’s environment variables…</div><div class=""><br class=""><div apple-content-edited="true" class="">
Bob<br class="">-------------------<br class="">Robert J. Rockefeller<br class="">Richmond Hill, GA<br class=""><a href="http://www.bobrockefeller.com" class="">www.bobrockefeller.com</a>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Feb 10, 2015, at 7:30 AM, Carpii UK <<a href="mailto:carpii.uk@gmail.com" class="">carpii.uk@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Just playing around with some tests and this seems to work..<div class=""><br class=""></div><div class="">$CWD/assets<br class=""></div><div class=""><br class=""></div><div class="">or if you have a projectedDirectory = "$CWD" in .tm_properties, it also seems to expand other variables such as </div><div class=""><br class=""></div><div class="">$projectDirectory/assets<br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 10 February 2015 at 12:14, Robert J. Rockefeller <span dir="ltr" class=""><<a href="mailto:bob@bobrockefeller.com" target="_blank" class="">bob@bobrockefeller.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My .tm_properties file has this line:<br class="">
<br class="">
excludeDirectories = "{$excludeDirectories,assets,bin,images,logs,node_modules,cache}”<br class="">
<br class="">
and it works. Too well.<br class="">
<br class="">
Not only does it exclude projectroot/images (which is what I wanted), but it excludes projectroot/user/pages/images, too.<br class="">
<br class="">
How do I restrict excludeDirectories to only a top level folder?<br class="">
<br class="">
Bob<br class="">
-------------------<br class="">
Robert J. Rockefeller<br class="">
Richmond Hill, GA<br class="">
<a href="http://www.bobrockefeller.com/" target="_blank" class="">www.bobrockefeller.com</a><br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
textmate mailing list<br class="">
<a href="mailto:textmate@lists.macromates.com" class="">textmate@lists.macromates.com</a><br class="">
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank" class="">http://lists.macromates.com/listinfo/textmate</a></blockquote></div><br class=""></div>
<br class="">_______________________________________________<br class="">textmate mailing list<br class=""><a href="mailto:textmate@lists.macromates.com" class="">textmate@lists.macromates.com</a><br class="">http://lists.macromates.com/listinfo/textmate</div></blockquote></div><br class=""></div></body></html>