[TxMt] Re: Exclude Top Level, But Not Nested, Folders?

Carpii UK carpii.uk at gmail.com
Tue Feb 10 12:30:20 UTC 2015


Just playing around with some tests and this seems to work..

$CWD/assets

or if you have a projectedDirectory = "$CWD" in .tm_properties, it also
seems to expand other variables such as

$projectDirectory/assets

On 10 February 2015 at 12:14, Robert J. Rockefeller <bob at bobrockefeller.com>
wrote:

> My .tm_properties file has this line:
>
> excludeDirectories =
> "{$excludeDirectories,assets,bin,images,logs,node_modules,cache}”
>
> and it works. Too well.
>
> Not only does it exclude projectroot/images (which is what I wanted), but
> it excludes projectroot/user/pages/images, too.
>
> How do I restrict excludeDirectories to only a top level folder?
>
> Bob
> -------------------
> Robert J. Rockefeller
> Richmond Hill, GA
> www.bobrockefeller.com
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20150210/6a8518cd/attachment.html>


More information about the textmate mailing list