forked from Joomline/slogin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
117 lines (107 loc) · 4.1 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<project name="slogin" default="dist" basedir=".">
<property name="build" value="build" />
<property name="dist" value="dist" />
<property name="filename" value="pkg_slogin_v2.10.1_j3.zip" />
<target name="init" depends="clean">
<mkdir dir="${build}" />
<mkdir dir="${dist}" />
</target>
<target name="pack-plugins">
<zip destfile="${build}/mod_slogin.zip" description="mod_slogin">
<fileset dir="mod_slogin" />
</zip>
<zip destfile="${build}/com_slogin.zip" description="com_slogin">
<fileset dir="com_slogin" />
</zip>
<zip destfile="${build}/lib_slogin_oauth.zip" description="lib_slogin_oauth">
<fileset dir="libraries/slogin" />
</zip>
<zip destfile="${build}/lib_amcharts.zip" description="lib_amcharts">
<fileset dir="libraries/amcharts" />
</zip>
<!-- Plugins -->
<zip destfile="${build}/plg_slogin.zip" description="plg_slogin">
<fileset dir="plugins/user/plg_slogin" />
</zip>
<zip destfile="${build}/plg_slogin_profile.zip" description="plg_slogin_profile">
<fileset dir="plugins/slogin_integration/profile" />
</zip>
<zip destfile="${build}/plg_authentication_slogin.zip" description="plg_authentication_slogin">
<fileset dir="plugins/authentication/slogin" />
</zip>
<!-- Plugins auch -->
<zip destfile="${build}/plg_SL_bitbucket.zip" description="bitbucket">
<fileset dir="plugins/slogin_auth/bitbucket" />
</zip>
<zip destfile="${build}/plg_SL_facebook.zip" description="facebook">
<fileset dir="plugins/slogin_auth/facebook" />
</zip>
<zip destfile="${build}/plg_SL_github.zip" description="github">
<fileset dir="plugins/slogin_auth/github" />
</zip>
<zip destfile="${build}/plg_SL_google.zip" description="google">
<fileset dir="plugins/slogin_auth/google" />
</zip>
<zip destfile="${build}/plg_SL_instagram.zip" description="instagram">
<fileset dir="plugins/slogin_auth/instagram" />
</zip>
<zip destfile="${build}/plg_SL_linkedin.zip" description="linkedin">
<fileset dir="plugins/slogin_auth/linkedin" />
</zip>
<zip destfile="${build}/plg_SL_live.zip" description="live">
<fileset dir="plugins/slogin_auth/live" />
</zip>
<zip destfile="${build}/plg_SL_mail.zip" description="mail">
<fileset dir="plugins/slogin_auth/mail" />
</zip>
<zip destfile="${build}/plg_SL_odnoklassniki.zip" description="odnoklassniki">
<fileset dir="plugins/slogin_auth/odnoklassniki" />
</zip>
<zip destfile="${build}/plg_SL_twitter.zip" description="twitter">
<fileset dir="plugins/slogin_auth/twitter" />
</zip>
<zip destfile="${build}/plg_SL_ulogin.zip" description="ulogin">
<fileset dir="plugins/slogin_auth/ulogin" />
</zip>
<zip destfile="${build}/plg_SL_vkontakte.zip" description="vkontakte">
<fileset dir="plugins/slogin_auth/vkontakte" />
</zip>
<zip destfile="${build}/plg_SL_wordpress.zip" description="wordpress">
<fileset dir="plugins/slogin_auth/wordpress" />
</zip>
<zip destfile="${build}/plg_SL_yahoo.zip" description="yahoo">
<fileset dir="plugins/slogin_auth/yahoo" />
</zip>
<zip destfile="${build}/plg_SL_yandex.zip" description="yandex">
<fileset dir="plugins/slogin_auth/yandex" />
</zip>
<zip destfile="${build}/plg_SL_twitch.zip" description="twitch">
<fileset dir="plugins/slogin_auth/twitch" />
</zip>
<zip destfile="${build}/plg_SL_github.zip" description="github">
<fileset dir="plugins/slogin_auth/github" />
</zip>
<zip destfile="${build}/plg_SL_bitbucket.zip" description="bitbucket">
<fileset dir="plugins/slogin_auth/bitbucket" />
</zip>
<zip destfile="${build}/plg_SL_telegram.zip" description="telegram">
<fileset dir="plugins/slogin_auth/telegram" />
</zip>
<copy file="pkg_slogin.xml" todir="${build}" />
<copy file="script.php" todir="${build}" />
<copy todir="${build}/language" >
<fileset dir="language" />
</copy>
</target>
<target name="dist" depends="init, pack-plugins">
<zip destfile="${dist}/${filename}">
<fileset dir="${build}/" >
<include name="**/**" />
</fileset>
</zip>
</target>
<target name="clean" description="clean up">
<delete dir="${build}" />
<delete dir="${dist}" />
</target>
</project>