android - Cordova automated build of an existing web project -


i'm looking way build cordova app automatically, based on existing web project. have found far create new cordova project , drag , drop existing application in www folder. thing is, don't want step.

therefore, i'm looking 1 of these 2 possible solutions.

1. privately hosted phonegap build alternative

is there open source project similar phonegap build? 1 can host on private servers. have in case zipping project, upload server , built application back.

what have found cordova-build (https://www.npmjs.com/package/cordova-build), seams quite out-dated , not maintained.

2. create local build process

for building process i'm using webpack. setting build process can

npm mobilebuild -- --platform="ios" 

and builds new cordova project web application included. later have run cordova cli commands build application.

do have idea how accomplish 1 of these 2 approaches?

thanks!

the existing web project must consider cordova related html like

<script src="cordova.js"></script> 

but missing on developed project... html/css have different every case. don't see way follow, not automatically.


Comments