1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.default = findAllPodfilePaths;
|
7 |
|
8 | function _glob() {
|
9 | const data = _interopRequireDefault(require("glob"));
|
10 |
|
11 | _glob = function () {
|
12 | return data;
|
13 | };
|
14 |
|
15 | return data;
|
16 | }
|
17 |
|
18 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | const GLOB_EXCLUDE_PATTERN = ['**/@(Pods|node_modules|Carthage)/**'];
|
29 |
|
30 | function findAllPodfilePaths(cwd) {
|
31 | return _glob().default.sync('**/Podfile', {
|
32 | cwd,
|
33 | ignore: GLOB_EXCLUDE_PATTERN
|
34 | });
|
35 | }
|
36 |
|
37 |
|
\ | No newline at end of file |