Page MenuHomePhorge

get-clang-paths-cli.js
No OneTemporary

Size
546 B
Referenced Files
None
Subscribers
None

get-clang-paths-cli.js

/* eslint-disable flowtype/require-valid-file-annotation */
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, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5435935
Default Alt Text
get-clang-paths-cli.js (546 B)

Event Timeline