|
@@ -149,6 +149,8 @@ class Build {
|
|
|
writeRec(pak.root);
|
|
|
return out;
|
|
|
}
|
|
|
+
|
|
|
+ public static dynamic function onInit( b : Build ) {}
|
|
|
|
|
|
function makePak() {
|
|
|
|
|
@@ -157,6 +159,7 @@ class Build {
|
|
|
|
|
|
fs = new hxd.fs.LocalFileSystem(resPath, configuration);
|
|
|
fs.convert.onConvert = function(c) Sys.println("\tConverting " + c.srcPath);
|
|
|
+ onInit(this);
|
|
|
|
|
|
var pak = new Data();
|
|
|
out = { bytes : [], size : 0 };
|