Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnwargo/cdva-make-merges
Automates the creation of the Cordova merges folders for each platform added to the project
https://github.com/johnwargo/cdva-make-merges
cordova npm
Last synced: about 3 hours ago
JSON representation
Automates the creation of the Cordova merges folders for each platform added to the project
- Host: GitHub
- URL: https://github.com/johnwargo/cdva-make-merges
- Owner: johnwargo
- License: apache-2.0
- Created: 2014-12-15T23:52:19.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T21:05:12.000Z (3 days ago)
- Last Synced: 2024-11-15T22:18:45.308Z (3 days ago)
- Topics: cordova, npm
- Homepage: https://www.npmjs.com/package/cdva-merges
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cordova Make Merges (cdva-merges)
A node module that automates the creation of a Cordova project's merges folders, using the project's list of platforms as a guide.
Earlier versions of the Cordova CLI included the merges folder in the default project structure it created. For some bizarre reason, the Cordova Dev team thought that removing the merges folder would be less confusing for users. So, the merges folder no longer exists, and is no longer even documented. To use this feature, you'll have to manually create folders for each target platform or use this module.
Using `cdva-merges`, a developer can automatically create merges folders for each of the target platforms currently configured for a Cordova project. Simply issue the command and it's done for you.
## Installation
To install the module, open a terminal window and execute the following command:
npm install -g cdva-merges
## Usage
Execute the module by executing the `cdva-merges` command at a command-line.
The module accepts the following command-line switch:
`?` - Display the help file
**Examples:**
To display this help file, issue the following command:
cdva-merges ?
To create merges folders for each platform added to a Cordova application project use the following command:cdva-merges
The module will read the Cordova project's configuration to determine which platforms have been added then make sure the merges folder exists (if not, it will create it for you), then create a folder in the merges folder for each platform.
***
You can find information on many different topics on my [personal blog](http://www.johnwargo.com). Learn about all of my publications at [John Wargo Books](http://www.johnwargobooks.com).
If you find this code useful and feel like thanking me for providing it, please consider Buying Me a Coffee, or making a purchase from [my Amazon Wish List](https://amzn.com/w/1WI6AAUKPT5P9).