0.0.2 • Published 6 months ago
agvtool v0.0.2
agvtool
A small script that extracts the version and build number for iOS and android projects.
Usage
# get "marketing" version (e.g. 5.0.0)
npx agvtool <path to Info.plist or build.grade> version
# get build_number version (e.g. 109)
npx agvtool <path to Info.plist or build.grade> build_number
Examples
# iOS
npx agvtool Info.plist version # -> 5.0.0
npx agvtool Info.plist build_number # -> 109
# android
npx agvtool build.gradle version # -> 5.0.0
npx agvtool build.gradle build_number # -> 109
Development
- Run
npm install
to get started - code lives in
index.js
- Run
npm run test
to run tests - test code lives in
index.test.js
,Info.plist
andbuild.gradle