Added sample private properties file, and clean up some unnecessary crap
from the build script
This commit is contained in:
parent
8ddcb353cb
commit
2babc3a52a
3 changed files with 8 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
||||||
#Tue, 17 Sep 2013 20:27:04 -0400
|
#Mon, 23 Sep 2013 15:00:03 -0400
|
||||||
minecraft_version=1.6.4
|
minecraft_version=1.6.4
|
||||||
forge_version=9.11.0.883
|
forge_version=9.11.0.883
|
||||||
mod_version=pre2a
|
mod_version=pre2a
|
||||||
|
|
29
build.xml
29
build.xml
|
@ -4,16 +4,6 @@
|
||||||
<!-- Public property files-->
|
<!-- Public property files-->
|
||||||
<property file="build.properties" prefix="build" />
|
<property file="build.properties" prefix="build" />
|
||||||
<property file="environment.properties" prefix="environment" />
|
<property file="environment.properties" prefix="environment" />
|
||||||
|
|
||||||
<!-- Private property files
|
|
||||||
private.properties only contains the following properties;
|
|
||||||
fingerprint_signature
|
|
||||||
keystore_location
|
|
||||||
keystore_user_alias
|
|
||||||
keystore_user_password
|
|
||||||
These properties are used to properly sign the compiled jar in the 'release' target
|
|
||||||
For the majority of you this is not a concern and you will not need values for these - just use the 'build' target
|
|
||||||
-->
|
|
||||||
<property file="private.properties" prefix="private" />
|
<property file="private.properties" prefix="private" />
|
||||||
|
|
||||||
<!-- Minecraft Forge -->
|
<!-- Minecraft Forge -->
|
||||||
|
@ -29,7 +19,7 @@
|
||||||
<get src="${minecraftforge_src_archive_location}" dest="${environment.base_location}/temp/" verbose="true" usetimestamp="true" />
|
<get src="${minecraftforge_src_archive_location}" dest="${environment.base_location}/temp/" verbose="true" usetimestamp="true" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="forge-uncompress" depends="forge-download, forge-clean">
|
<target name="forge-uncompress" depends="forge-download">
|
||||||
<unzip src="${environment.base_location}/temp/${minecraftforge_src_archive}" dest="${environment.base_location}" />
|
<unzip src="${environment.base_location}/temp/${minecraftforge_src_archive}" dest="${environment.base_location}" />
|
||||||
<delete dir="${environment.base_location}/temp" />
|
<delete dir="${environment.base_location}/temp" />
|
||||||
</target>
|
</target>
|
||||||
|
@ -94,13 +84,7 @@
|
||||||
<signjar jar="${environment.release_location}/MC ${build.minecraft_version}/${build.mod_version}/ee3-universal-${build.mod_version}-${build.build_number}.jar" keystore="${private.keystore_location}" alias="${private.keystore_user_alias}" storepass="${private.keystore_user_password}" />
|
<signjar jar="${environment.release_location}/MC ${build.minecraft_version}/${build.mod_version}/ee3-universal-${build.mod_version}-${build.build_number}.jar" keystore="${private.keystore_location}" alias="${private.keystore_user_alias}" storepass="${private.keystore_user_password}" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build">
|
<target name="build" depends="clean, increment_build_number, prep, recompile, reobfuscate">
|
||||||
<!-- Prep for the build -->
|
|
||||||
<antcall target="clean" />
|
|
||||||
<antcall target="increment_build_number" />
|
|
||||||
<antcall target="prep" />
|
|
||||||
<antcall target="recompile" />
|
|
||||||
<antcall target="reobfuscate" />
|
|
||||||
|
|
||||||
<!-- Build the jar -->
|
<!-- Build the jar -->
|
||||||
<mkdir dir="${environment.release_location}/MC ${build.minecraft_version}/${build.mod_version}" />
|
<mkdir dir="${environment.release_location}/MC ${build.minecraft_version}/${build.mod_version}" />
|
||||||
|
@ -115,14 +99,7 @@
|
||||||
<antcall target="clean" />
|
<antcall target="clean" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="release">
|
<target name="release" depends="clean, increment_build_number, prep, replace_tokens, recompile, reobfuscate">
|
||||||
<!-- Prep for the build -->
|
|
||||||
<antcall target="clean" />
|
|
||||||
<antcall target="increment_build_number" />
|
|
||||||
<antcall target="prep" />
|
|
||||||
<antcall target="replace_tokens" />
|
|
||||||
<antcall target="recompile" />
|
|
||||||
<antcall target="reobfuscate" />
|
|
||||||
|
|
||||||
<!-- Build the jar -->
|
<!-- Build the jar -->
|
||||||
<mkdir dir="${environment.release_location}/MC ${build.minecraft_version}/${build.mod_version}" />
|
<mkdir dir="${environment.release_location}/MC ${build.minecraft_version}/${build.mod_version}" />
|
||||||
|
|
4
private.properties_sample
Normal file
4
private.properties_sample
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
fingerprint_signature=FINGERPRINT
|
||||||
|
keystore_location=PATH_TO_KEYSTORE_LOCATION
|
||||||
|
keystore_user_alias=USERNAME
|
||||||
|
keystore_user_password=PASSWORD
|
Loading…
Reference in a new issue