corretgecom / phing-base64
Phing Base64 任务和目标。
dev-master
2015-04-01 07:27 UTC
Requires
- php: >=5.5.0
This package is not auto-updated.
Last update: 2024-09-28 17:38:28 UTC
README
要测试它,创建一个新的文件夹,并将 composer.json 放入其中
{
"require": {
"corretgecom/phing-base64": "dev-master"
}
}
然后创建一个文件 build.xml
<?xml version="1.0" ?>
<project basedir="." default="list">
<target name="list" description="List targets">
<exec command="phing -l" level="verbose" passthru="true" />
</target>
<import file="vendor/bin/corretgecom.qgpl.base64.xml" optional="false" />
</project>
然后执行
composer update
然后
phing
默认目标是列出所有目标的列表
Buildfile: /Volumes/develop/corretge/phing/test-base64/build.xml
build.xml > list:
Buildfile: /Volumes/develop/corretge/phing/test-base64/build.xml
Default target:
-------------------------------------------------------------------------------
list List targets
Main targets:
-------------------------------------------------------------------------------
console.qgpl.base64.decode Convertim a string una cadena Base64 preguntada
console.qgpl.base64.encode Convertim a Base64 una cadena preguntada
list List targets
BUILD FINISHED
Total time: 0.5482 seconds