Updated build script
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87385 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
4562c83ec8
commit
93fa26a100
|
@ -203,6 +203,8 @@
|
||||||
<extension name="zip" minimum_version="1.8.0"/>
|
<extension name="zip" minimum_version="1.8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<dirroles key="PHPExcel/Shared/PDF/fonts">data</dirroles>
|
<dirroles key="PHPExcel/Shared/PDF/fonts">data</dirroles>
|
||||||
|
<dirroles key="PHPExcel/Shared/PDF/fonts/utils">data</dirroles>
|
||||||
|
<dirroles key="/PHPExcel/Shared/PDF/fonts/utils">data</dirroles>
|
||||||
</d51pearpkg2>
|
</d51pearpkg2>
|
||||||
|
|
||||||
<exec command="pear package ./build/Classes/package.xml"/>
|
<exec command="pear package ./build/Classes/package.xml"/>
|
||||||
|
@ -216,18 +218,28 @@
|
||||||
<mkdir dir="./release" />
|
<mkdir dir="./release" />
|
||||||
|
|
||||||
<echo msg="Creating documentation release (v${packageVersion})..." />
|
<echo msg="Creating documentation release (v${packageVersion})..." />
|
||||||
<copy todir="./release" overwrite="true">
|
<copy todir="./build" overwrite="true">
|
||||||
<fileset dir="../Documentation">
|
<fileset dir="../Documentation">
|
||||||
<include name="*.*" />
|
<include name="*.*" />
|
||||||
<exclude name="**/.svn" />
|
<exclude name="**/.svn" />
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="./release/Examples" overwrite="true">
|
<copy todir="./build/Examples" overwrite="true">
|
||||||
<fileset dir="../Documentation/Examples">
|
<fileset dir="../Documentation/Examples">
|
||||||
<include name="**.*" />
|
<include name="**/*" />
|
||||||
<exclude name="**/.svn" />
|
<exclude name="**/.svn" />
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
|
<echo msg="Creating documentation release package (v${packageVersion})..." />
|
||||||
|
<phpzip destfile="./release/${packageVersion}-documentation.zip">
|
||||||
|
<fileset dir="./build">
|
||||||
|
<include name="**/*" />
|
||||||
|
<exclude name="**/.svn" />
|
||||||
|
</fileset>
|
||||||
|
</phpzip>
|
||||||
|
|
||||||
|
<echo msg="Cleaning build directory: ./build" />
|
||||||
|
<delete dir="./build" />
|
||||||
</target>
|
</target>
|
||||||
</project>
|
</project>
|
Loading…
Reference in New Issue