mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-14 22:51:28 +00:00
Only include debug.js in DEBUG mode for Objective-J.
Reviewed by me.
This commit is contained in:
+5
-12
@@ -17,18 +17,11 @@ $RHINO_FILE = File.join($PRODUCT, 'rhino.platform', 'Objective-J.js'
|
||||
|
||||
task :Products => [$BROWSER_FILE, $RHINO_FILE, $LICENSE_PRODUCT]
|
||||
|
||||
Files = [ 'constants.js',
|
||||
'utilities.js',
|
||||
'json2.js',
|
||||
'runtime.js',
|
||||
'dictionary.js',
|
||||
'plist.js',
|
||||
'file.js',
|
||||
'exception.js',
|
||||
'preprocess.js',
|
||||
'evaluate.js',
|
||||
'debug.js',
|
||||
'bootstrap.js'];
|
||||
Files = FileList['constants.js', 'utilities.js', 'json2.js', 'runtime.js', 'dictionary.js', 'plist.js', 'file.js', 'exception.js', 'preprocess.js', 'evaluate.js', 'bootstrap.js']
|
||||
|
||||
if $CONFIGURATION == 'Debug'
|
||||
Files.add('debug.js')
|
||||
end
|
||||
|
||||
file_d $BROWSER_FILE => Files do |t|
|
||||
build_product(t.name, platform_flags(ObjectiveJ::Platform::Browser, ObjectiveJ::Platform::ObjJ))
|
||||
|
||||
Reference in New Issue
Block a user