<?xml version="1.0" encoding="ISO-8859-1"?> | |
<!-- | |
Copyright (c) 2013 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" /> | |
<!-- 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="${metaluaFolder}" includes="**/*.lua" /> | |
</copy> | |
<copy todir="${destinationFolder}"> | |
<fileset dir="${metaluaFolder}" includes="**/*.mlua" /> | |
</copy> | |
</target> | |
</project> |