donejs / donejs-cordova

A plugin to add support for Cordova to your DoneJS application
http://donejs.com
MIT License
1 stars 0 forks source link

check to see if already added #3

Closed matthewp closed 9 years ago

matthewp commented 9 years ago

The user might run donejs add cordova more than once, so it might be a good idea to do a sanity check that the build.js doesn't already contain the cordova text. Probably a simple regex test for cordovaOptions and/or require("steal-cordova") is enough.

phillipskevin commented 9 years ago

This has been closed in https://github.com/donejs/donejs-cordova/pull/5