Skip to content

Commit de9ebed

Browse files
committed
update marmot config
1 parent 86c8df8 commit de9ebed

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

marmot.config.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
const helper = require('marmot-cli/lib/helper');
44

5+
const {
6+
iosUtils,
7+
getDepsPkgVersion,
8+
} = require('marmot-cli/lib/helper');
9+
510
const pkg = require('./package');
611

712
module.exports = {
@@ -10,8 +15,7 @@ module.exports = {
1015
],
1116
packages: [
1217
{
13-
version: helper
14-
.iosUtils
18+
version: iosUtils
1519
.getFieldFromPlist(`${pkg.name}/Info.plist`, 'CFBundleVersion'),
1620
path: `build/Release-iphonesimulator/${pkg.name}.app/`,
1721
type: 'Release'
@@ -20,5 +24,6 @@ module.exports = {
2024
testInfo: {
2125
},
2226
extraInfo: {
27+
'marmot-cli': getDepsPkgVersion('marmot-cli')
2328
}
2429
};

0 commit comments

Comments
 (0)