-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nicolas Khoury <nick.khry@gmail.com>
- Loading branch information
Showing
4 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<project name="Broadcaster" default="deploy" basedir="."> | ||
<property name="pluginname" value="Broadcaster"/> | ||
<property name="bukkit.jar" location="../../../git/Bukkit/target/bukkit-1.2.3-R0.3-SNAPSHOT.jar"/> | ||
<property name="plugins" location="../../../Documents/Bukkit/Server/plugins/"/> | ||
|
||
<property name="src" location="src"/> | ||
<property name="bin" location="bin"/> | ||
<property name="dist" location="dist"/> | ||
|
||
<target name="init"> | ||
<mkdir dir="${bin}"/> | ||
</target> | ||
|
||
<target name="compile" depends="init"> | ||
<javac srcdir="${src}" destdir="${bin}" includeantruntime="false"> | ||
<classpath> | ||
<pathelement location="${bukkit.jar}"/> | ||
</classpath> | ||
</javac> | ||
</target> | ||
|
||
<target name="dist" depends="compile"> | ||
<mkdir dir="${dist}"/> | ||
<jar jarfile="${dist}/${pluginname}.jar"> | ||
<fileset dir="${bin}"/> | ||
<fileset file="${src}/plugin.yml"/> | ||
<fileset file="${src}/config.yml"/> | ||
</jar> | ||
</target> | ||
|
||
<target name="deploy" depends="dist"> | ||
<copy file="${dist}/${pluginname}.jar" todir="${plugins}"/> | ||
</target> | ||
|
||
<target name="clean"> | ||
<delete dir="${bin}"/> | ||
<delete dir="${dist}"/> | ||
</target> | ||
</project> |
Binary file not shown.