cpw / ironchest

Iron Chest minecraft mod - now dormant
183 stars 182 forks source link

New decompile-free faster build process #17

Open agaricusb opened 11 years ago

agaricusb commented 11 years ago

Adds a Maven pom.xml for building IronChest using the new process as we were briefly discussing on IRC yesterday. Since you wanted to see it, here it is :).

To build, install Maven 3 then run:

mvn initialize -P -built
mvn package

The mod will be compiled against the remapped library then reobfuscated to "srg" names for FML runtime deobfuscation, the final product in target. Tested on Minecraft 1.5 with Forge 7.7.0.566.

On my system, builds in less than 3 seconds:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.852s
[INFO] Finished at: Sun Mar 10 18:57:21 PDT 2013
[INFO] Final Memory: 20M/215M
[INFO] ------------------------------------------------------------------------