Page MenuHomePhorge

get_clang_paths_cli.js
No OneTemporary

Size
495 B
Referenced Files
None
Subscribers
None

get_clang_paths_cli.js

// @flow
const { clangPaths } = require('./get_clang_paths.js');
(() => {
let command = '(';
clangPaths.forEach(pathItem => {
const { path, extensions, excludes } = pathItem;
command += `find ${path} `;
command += extensions
.map(extension => `-name '*.${extension}' `)
.join('-o ');
if (excludes) {
command += `| grep -v '${excludes.map(exclude => exclude).join('\\|')}'`;
}
command += '; ';
});
command += ')';
console.log(command);
})();

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 7, 4:31 PM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5584562
Default Alt Text
get_clang_paths_cli.js (495 B)

Event Timeline