blob: 200ad889a58b6be7ddb1314a654ebfe8aab54094 [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2012 Sierra Wireless and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Sierra Wireless - initial API and implementation
-->
<project name="librariesBuilder" default="build">
<!-- folder where lua script file should be get -->
<property name="librariesFolder" value="../../libraries" />
<property name="metaluaFolder" value="${librariesFolder}/metalua" />
<property name="metaluaSRCFolder" value="${metaluaFolder}/src" />
<property name="metaluaByteCodeFolder" value="${metaluaFolder}/32" />
<!-- destination folder -->
<property name="destinationFolder" value="lib" />
<target name="build">
<!-- clean destinationLuaFolder -->
<delete includeEmptyDirs="true">
<fileset dir="${destinationFolder}" defaultexcludes="no" excludes=".gitignore" />
</delete>
<!-- copy all files/folders -->
<copy todir="${destinationFolder}">
<fileset dir="${metaluaSRCFolder}" includes="**/*.lua" />
</copy>
<copy todir="${destinationFolder}">
<fileset dir="${metaluaByteCodeFolder}" includes="**/*.luac" />
</copy>
</target>
</project>