Added convinience method to applicationtask for grabbing the built index file.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2009-11-15 07:38:28 -08:00
1 parent 8f1e56e398
commit ad901ed4b0
1 file changed
+6 -1
@@ -56,13 +56,18 @@ ApplicationTask.prototype.defineFrameworksTask = function()
this.enhance([frameworks]);
}
ApplicationTask.prototype.buildIndexFilePath = function()
{
return FILE.join(this.buildProductPath(), FILE.basename(this.indexFilePath()));
}
ApplicationTask.prototype.defineIndexFileTask = function()
{
if (!this._indexFilePath)
return;
var indexFilePath = this.indexFilePath(),
buildIndexFilePath = FILE.join(this.buildProductPath(), FILE.basename(this.indexFilePath()));
buildIndexFilePath = this.buildIndexFilePath();
Jake.filedir (buildIndexFilePath, [indexFilePath], function()
{