1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/githubsync-OpenrestryLuaHelloWorld

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
build.xml 1.4 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
orange Отправлено 11.11.2018 17:45 bdc6136
<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>

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/githubsync-OpenrestryLuaHelloWorld.git
git@api.gitlife.ru:oschina-mirror/githubsync-OpenrestryLuaHelloWorld.git
oschina-mirror
githubsync-OpenrestryLuaHelloWorld
githubsync-OpenrestryLuaHelloWorld
master