Commit e108d4a57875905082474a02319c8f71c379b634
1 parent
6d1b9c9b
simplifying build script
Showing
1 changed file
with
1 additions
and
22 deletions
ant/build_liteloader.xml
| @@ -97,21 +97,6 @@ | @@ -97,21 +97,6 @@ | ||
| 97 | </copy> | 97 | </copy> |
| 98 | </target> | 98 | </target> |
| 99 | 99 | ||
| 100 | - <target name="contributeloadersource" description="Contribute a liteloader source code set to the source path"> | ||
| 101 | - <echo level="info" message="Contributing source set '${set}' for project ${lib}" /> | ||
| 102 | - <copy todir="${src}" verbose="false" overwrite="true" failonerror="false"> | ||
| 103 | - <fileset dir="${eclipse}/${lib}/java/${set}"> | ||
| 104 | - <exclude name="**/debug" /> | ||
| 105 | - <exclude name="**/debug/*.java" /> | ||
| 106 | - </fileset> | ||
| 107 | - <filterchain> | ||
| 108 | - <linecontains negate="true"> | ||
| 109 | - <contains value="@MCPONLY${skipremoval}" /> | ||
| 110 | - </linecontains> | ||
| 111 | - </filterchain> | ||
| 112 | - </copy> | ||
| 113 | - </target> | ||
| 114 | - | ||
| 115 | <target name="contributeresources" description="Contribute resources to the staging path"> | 100 | <target name="contributeresources" description="Contribute resources to the staging path"> |
| 116 | <echo level="info" message="Contributing project resources for ${lib}" /> | 101 | <echo level="info" message="Contributing project resources for ${lib}" /> |
| 117 | <copy todir="${stage.dir}" verbose="false" failonerror="false"> | 102 | <copy todir="${stage.dir}" verbose="false" failonerror="false"> |
| @@ -170,14 +155,8 @@ | @@ -170,14 +155,8 @@ | ||
| 170 | <echo level="info" message="Contributing upstream projects" /> | 155 | <echo level="info" message="Contributing upstream projects" /> |
| 171 | <foreach list="${upstream}" param="lib" target="contributesource" /> | 156 | <foreach list="${upstream}" param="lib" target="contributesource" /> |
| 172 | 157 | ||
| 173 | - <antcall target="contributeloadersource"> | ||
| 174 | - <param name="lib" value="${project}" /> | ||
| 175 | - <param name="set" value="common" /> | ||
| 176 | - </antcall> | ||
| 177 | - | ||
| 178 | - <antcall target="contributeloadersource"> | 158 | + <antcall target="contributesource"> |
| 179 | <param name="lib" value="${project}" /> | 159 | <param name="lib" value="${project}" /> |
| 180 | - <param name="set" value="client" /> | ||
| 181 | </antcall> | 160 | </antcall> |
| 182 | </target> | 161 | </target> |
| 183 | 162 |