UNPKG

857 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = findAllPodfilePaths;
7function _glob() {
8 const data = _interopRequireDefault(require("glob"));
9 _glob = function () {
10 return data;
11 };
12 return data;
13}
14function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15/**
16 * Copyright (c) Facebook, Inc. and its affiliates.
17 *
18 * This source code is licensed under the MIT license found in the
19 * LICENSE file in the root directory of this source tree.
20 *
21 */
22
23// These folders will be excluded from search to speed it up
24const GLOB_EXCLUDE_PATTERN = ['**/@(Pods|node_modules|Carthage)/**'];
25function findAllPodfilePaths(cwd) {
26 return _glob().default.sync('**/Podfile', {
27 cwd,
28 ignore: GLOB_EXCLUDE_PATTERN
29 });
30}
31
32//# sourceMappingURL=findAllPodfilePaths.js.map
\No newline at end of file