From bbe1870d463dcf8dcc3f9e6f588b1130f4b9a5fe Mon Sep 17 00:00:00 2001 From: Shiva Poudel Date: Fri, 2 Feb 2018 17:27:13 +0545 Subject: [PATCH] Exclude textdomain check for libraries --- Gruntfile.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 22d74cc1c3a..291edd88cb1 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -230,12 +230,13 @@ module.exports = function( grunt ) { }, files: { src: [ - '**/*.php', // Include all files - '!apigen/**', // Exclude apigen/ - '!node_modules/**', // Exclude node_modules/ - '!tests/**', // Exclude tests/ - '!vendor/**', // Exclude vendor/ - '!tmp/**' // Exclude tmp/ + '**/*.php', // Include all files + '!apigen/**', // Exclude apigen/ + '!includes/libraries/**', // Exclude libraries/ + '!node_modules/**', // Exclude node_modules/ + '!tests/**', // Exclude tests/ + '!vendor/**', // Exclude vendor/ + '!tmp/**' // Exclude tmp/ ], expand: true }