mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-19 13:09:22 +00:00
Added convinience method to applicationtask for grabbing the built index file.
Reviewed by me.
This commit is contained in:
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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user