mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-29 11:01:34 +08:00
7312b2854b
Added: Custom favicon setting + Small fixes
122 lines
3.9 KiB
XML
122 lines
3.9 KiB
XML
<project name="Build" basedir=".">
|
|
|
|
<property name="INDEX_ROOT" value=".." />
|
|
<property name="DIST_PATH" value="dist" />
|
|
<property name="DIST_PLUGINS_PATH" value="dist/plugins" />
|
|
<property name="GUID" value="tmp" />
|
|
|
|
<target name="_pre_">
|
|
<mkdir dir="${DIST_PATH}" />
|
|
<mkdir dir="${DIST_PLUGINS_PATH}" />
|
|
</target>
|
|
|
|
<target name="_build_plugin_" depends="_pre_">
|
|
|
|
<loadfile property="plugin-version" srcfile="${INDEX_ROOT}/plugins/${plugin-name}/VERSION" />
|
|
|
|
<mkdir dir="${DIST_PLUGINS_PATH}/${plugin-name}-${plugin-version}-${GUID}" />
|
|
<mkdir dir="${DIST_PLUGINS_PATH}/${plugin-name}-${plugin-version}-${GUID}/${plugin-name}" />
|
|
|
|
<copy todir="${DIST_PLUGINS_PATH}/${plugin-name}-${plugin-version}-${GUID}/${plugin-name}">
|
|
<fileset dir="${INDEX_ROOT}/plugins/${plugin-name}" />
|
|
</copy>
|
|
|
|
<zip destfile="${DIST_PLUGINS_PATH}/${plugin-name}-${plugin-version}.zip"
|
|
basedir="${DIST_PLUGINS_PATH}/${plugin-name}-${plugin-version}-${GUID}" update="true" />
|
|
|
|
<delete dir="${DIST_PLUGINS_PATH}/${plugin-name}-${plugin-version}-${GUID}" />
|
|
|
|
</target>
|
|
|
|
<target name="add-x-originating-ip-header">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="add-x-originating-ip-header"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="google-analytics">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="google-analytics"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="piwik-analytics">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="piwik-analytics"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="convert-headers-styles">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="convert-headers-styles"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="recaptcha">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="recaptcha"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="cpanel-change-password">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="cpanel-change-password"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="directadmin-change-password">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="directadmin-change-password"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="ispconfig-change-password">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="ispconfig-change-password"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="poppassd-change-password">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="poppassd-change-password"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="hmailserver-change-password">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="hmailserver-change-password"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="ldap-change-password">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="ldap-change-password"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="ldap-contacts-suggestions">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="ldap-contacts-suggestions"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="snowfall-on-login-screen">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="snowfall-on-login-screen"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="black-list">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="black-list"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="white-list">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="white-list"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="override-smtp-credentials">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="override-smtp-credentials"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="custom-login-mapping">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="custom-login-mapping"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="video-on-login-screen">
|
|
<antcall target="_build_plugin_">
|
|
<param name="plugin-name" value="video-on-login-screen"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
</project>
|