2 Star 6 Fork 0

githubsync / OpenrestryLuaHelloWorld

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.xml 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
githubsync 提交于 2018-11-11 22:45 . helloworld lua
<project name="pic-server" default="dist" basedir=".">
<description>
run pic-server
</description>
<!-- set global properties for this build -->
<property name="openresty-home" location="D:/git/bobo/orange/ngx_openresty-1.9.7.1-win32"/>
<property name="conf" location="${basedir}/conf"/>
<property name="src" location="${basedir}/src"/>
<property name="target-conf" location="${openresty-home}/conf"/>
<property name="target-src" location="${openresty-home}/${ant.project.name}"/>
<echo>######开发版本的ant配置#####</echo>
<target name="clean" depends="">
<echo>清理openresty目录 ${dist}下的conf,logs,janus,januslib</echo>
<delete dir="${target-conf}"/>
<delete dir="${target-src}"/>
<delete>
<fileset dir="${openresty-home}/logs" includes="*.log">
</fileset>
</delete>
</target>
<target name="init" depends="clean">
<echo>创建安装目录</echo>
<mkdir dir="${target-conf}"/>
<mkdir dir="${target-src}"/>
</target>
<target name="dist" depends="init" description="generate the distribution" >
<echo>复制安装文件</echo>
<copy todir="${target-conf}">
<fileset dir="${conf}"></fileset>
</copy>
<copy todir="${target-src}">
<fileset dir="${src}"></fileset>
</copy>
</target>
</project>
Lua
1
https://gitee.com/githubsync/OpenrestryLuaHelloWorld.git
git@gitee.com:githubsync/OpenrestryLuaHelloWorld.git
githubsync
OpenrestryLuaHelloWorld
OpenrestryLuaHelloWorld
master

搜索帮助