「pione package build」の版間の差分
提供: Eospedia
行12: | 行12: | ||
<td>引数</td> | <td>引数</td> | ||
<td>source</td> | <td>source</td> | ||
− | <td></td> | + | <td>必須</td> |
<td>the source package location</td> | <td>the source package location</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>--hash-id</td> | <td>--hash-id</td> | ||
− | <td></td> | + | <td>HASH</td> |
<td></td> | <td></td> | ||
<td>Specify git hash ID</td> | <td>Specify git hash ID</td> | ||
行23: | 行23: | ||
<tr> | <tr> | ||
<td>-o</td> | <td>-o</td> | ||
− | <td></td> | + | <td>LOCATION</td> |
<td></td> | <td></td> | ||
<td>Output file or directory location</td> | <td>Output file or directory location</td> | ||
行62: | 行62: | ||
== 実行例 == | == 実行例 == | ||
=== オプション必須項目のみの場合 === | === オプション必須項目のみの場合 === | ||
+ | パッケージするディレクトリをPackage1として実行します。<br> | ||
+ | Package1内の[[pione定義書]]<br> | ||
+ | <pre> | ||
+ | .@ PackageName :: "HelloWorld" | ||
+ | |||
+ | Rule Main | ||
+ | output 'message.txt' | ||
+ | |||
+ | Action | ||
+ | echo "Hello PIONE world !" > message.txt | ||
+ | End | ||
+ | </pre> | ||
+ | <br> | ||
+ | |||
+ | 実行結果<br> | ||
+ | <pre> | ||
+ | /PIONE$ pione package build Package1 | ||
+ | info: update the package info file: local:/Eos/tutorial/SampleCode/PIONE/Package1/pione-package.json | ||
+ | info: Package local:/Eos/tutorial/SampleCode/PIONE/HelloWorld.ppg has been built successfully. | ||
+ | </pre> | ||
+ | パッケージファイルHelloWorld.ppgが作成されます。<br> | ||
+ | <br> | ||
+ | |||
+ | === オプション -o === | ||
+ | -oにパッケージを作成するディレクトリを指定します。<br> | ||
+ | <br> | ||
+ | |||
+ | 実行結果<br> | ||
<pre> | <pre> | ||
+ | /PIONE$ pione package build Package1 | ||
+ | info: update the package info file: local:/Eos/tutorial/SampleCode/PIONE/Package1/pione-package.json | ||
+ | info: Package local:/Eos/tutorial/SampleCode/PIONE/HelloWorld.ppg has been built successfully. | ||
</pre> | </pre> | ||
<br> | <br> |
2014年12月10日 (水) 05:48時点における版
pione package buildとはパッケージのビルドを行うPIONEのコマンドです。
オプション一覧
オプション | 引数の型 | 引数のデフォルト | 説明 |
---|---|---|---|
引数 | source | 必須 | the source package location |
--hash-id | HASH | Specify git hash ID | |
-o | LOCATION | Output file or directory location | |
--tag | NAME | Specify tag name | |
--color | BOOLEAN | true | 出力結果の文字に色を付ける |
--debug | [TYPE] | system | デバッグモードで実行 |
--help | [FORMAT] | txt | ヘルプを表示 |
-v | なし | なし | バージョンを表示 |