2 properties (Constant,Access=
private)
3 EXCLUDE_REGEX_PATTERN='TTD|\.git'
4 EXCLUDE_DEP='externals';
7 function [dirList,excludePattern]=getOwnAndDepCodeDirList()
8 parentDir=
mxberry.io.PathUtils.rmLastPathParts(...
9 fileparts(which('s_install')),1);
15 function [dirList,excludePattern]=getOwnCodeDirList()
16 [dirList,excludePattern]=...
18 excludePattern=[excludePattern,
'|',...
22 function fileList=getFileListByExtensionList(extList)
25 extPattern=strcat(
'\.',...
28 [dirList,patternToExclude]=...
31 regexStr=[
'regex:^(?:(?!(',patternToExclude,
')).)*',...
34 fileList=getFieldListByDirListAndRegex(dirList,regexStr);
36 function fileList=getFieldListByExtAndPkgList(pkgNameList,extList)
38 extPattern=strcat(
'\.',...
42 strcat(
'\+',strsplit(x,
'.')),[
'\',
filesep]);
44 cellfun(fPkg2Pattern,pkgNameList,...
45 'UniformOutput',
false),
'|');
47 [dirList,patternToExclude]=...
50 regexStr=[
'regex:^(?!.*(',patternToExclude,
')).*(',...
51 pkgPattern,
').*',extPattern,
'$'];
52 fileList=getFieldListByDirListAndRegex(dirList,regexStr);
57 function fileList=getFieldListByDirListAndRegex(dirList,regexStr)
59 fileListOfList=cellfun(...
61 dirList,
'UniformOutput',
false);
62 fileList=vertcat(fileListOfList{:});
static function getOwnAndDepCodeDirList()
Constant Property EXCLUDE_REGEX_PATTERN
Constant Property EXCLUDE_DEP
function listfilesrecursive(in dirName, in patternStr, in maxDepth)
LISTFILESRECURSIVE returns a list of files with names matching a specified pattern in all the subdire...
static function getOwnCodeDirList()