UNPKG

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