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