PEAR2 コーディング規約 (Previous) (Next) PEAR2 Policies

View this page in Last updated: Sun, 06 Jul 2008
English | French | German | Japanese | Plain HTML

規則

この標準規約で使用する規則について説明します。

ディレクトリ構造

PEAR2 Subversion ディレクトリ内のディレクトリ構造にしたがってください。

PEAR2/Package_Name/
    src/      <-- role="php" のファイルすべて
    data/     <-- role="data" のファイルすべて
    tests/    <-- role="tests" のファイルすべて
    doc/      <-- role="doc" のファイルすべて
    www/      <-- role="www" のファイルすべて
    examples/ <-- role="doc" のサンプルファイル
                  (パッケージの使用法を示す、php の実行可能ファイル)

すべての package.xml ファイルでは、src/ ディレクトリの baseinstalldir に "/" を指定しなければなりません。

<contents>
  <dir name="/">
  <dir name="src" baseinstalldir="/">
  ...
</contents>
PEAR2 コーディング規約 (Previous) (Next) PEAR2 Policies

Download Documentation Last updated: Sun, 06 Jul 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.