来源:http://seagull.phpkitchen.com/docs/wakka.php?wakka=Internal/PrepareSeagullAsPearPackage

目前格式化Seagull的方法之一当作可用的PEAR包.关于如何安装PEAR包的更多信息,请浏览UsingThePearPackageManager.

为了在模块中创建属于自己的PEAR包,你要实现的框架遵循下列要素:

  • 在此可取得关于PEAR包格式化的更多信息
  • 检验出etc/文件夹下的包创建角本generatePackage.php
  • 修改你可能已增加/删除的所有依赖于PEAR库的脚本列表
  • 作用于Seagull的已输出版本是最容易的,即,没有CVS文件夹
  • 通过指定'packagedirectory'选项,指向那个文件夹的generatePackage.php脚本
  • 修改你可能已改变的任何文件的定位和角色
  • 通过web浏览器加上'make'参数,调用生成脚本,即:http://localhost/myProject/etc/generatePackage.php?make
  • 它将在你项目文件的根目录,创建一个package.xml文件
  • 项目的根文件夹的命令行中,在你的路径中使用PEAR二进制,键入'pear package'
 
internal/prepareseagullaspearpackage.txt · 最后更改: 2010/05/30 00:21 (外部编辑)
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2