且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Phonegap源码控制陷阱?

更新时间:2023-09-29 09:19:58

在我的项目中,我们只提交www文件夹和一个Windows批处理文件(我们在Windows上开发),它负责自动安装应用程序需要的每个插件。

In my project we only commit the www folder and a windows batch file (We develop on Windows) that is the responsable for install automatically each plugin that the app needs.

添加新插件时,我们向该文件添加一个新条目。

When a new plugin is added, we add a new entry to that file.

当一个新开发者想要使用该应用程序创建自己的新环境时,一个新的proyect并导入www文件夹。之后,他运行本地构建命令,然后运行自定义的插件文件。

When a new developer wants to make his developt enviroment with the app, him creates a new proyect and imports the www folder. After that, he runs the local build command and later runs the custom porject plugin file.