mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-13 02:08:55 +00:00
Set to use new compiler when compiling with jake
This commit is contained in:
1 parent
619f90c677
commit
ac3a399df3
2 files changed
+8
-1
No files matched your search
@@ -803,7 +803,9 @@ BundleTask.prototype.defineStaticTask = function()
|
||||
|
||||
BundleTask.prototype.defineSourceTasks = function()
|
||||
{
|
||||
var sources = this.sources();
|
||||
// Use new compiler
|
||||
require("objective-j").ObjJCompiler.setCurrentUsedVersion("objj_compiler2");
|
||||
var sources = this.sources();
|
||||
|
||||
if (!sources)
|
||||
return;
|
||||
|
||||
@@ -119,6 +119,11 @@ GLOBAL(ObjJCompilerSetUsedVersion) = function(version)
|
||||
ObjJCompiler.usedVersion = version;
|
||||
}
|
||||
|
||||
ObjJCompiler.setCurrentUsedVersion = function(version)
|
||||
{
|
||||
ObjJCompiler.usedVersion = version;
|
||||
}
|
||||
|
||||
exports.setCurrentCompilerFlags = function(/*String*/ compilerFlags)
|
||||
{
|
||||
currentCompilerFlags = compilerFlags;
|
||||
|
||||
Reference in new issue
Block a user