box-project/box2

cannot exclude files

veilig2000 opened this issue · 1 comments

I'm trying to exclude files in my config file - but it doesn't matter what I seem to try. I've tried to blacklist files/dirs as well, all to no avail. I'm currently running v2.7.2

am I configuring this incorrectly?

{                                                                                
    "chmod": "0755",                                                             
    "directories": ["vendor"],                                                   
    "files": [                                                                   
        "src/video-mapper.php",                                      
        "src/Mapper.php"                                                         
    ],                                                                           
    "finder": [                                                                  
        {                                                                        
            "name": "*.php",                                                     
            "exclude": [                                                         
                "aws",                                                           
                "doctrine",                                                      
                "google",                                                        
                "guzzlehttp",                                                    
                "illuminate",                                                    
                "league",                                                        
                "mtdowling",                                                     
                "paragonie",                                                     
                "psr"                                                            
            ],                                                                   
            "in": "vendor"                                                       
        }                                                                        
    ],                                                                           
    "main": "bin/video-main",                                        
    "output": "video-mapper.phar",                                   
    "stub": true                                                                 
} 

found out I couldn't use directories along side of finder - was adding twice.