-
Notifications
You must be signed in to change notification settings - Fork 1
/
Buildfile
42 lines (34 loc) · 1.27 KB
/
Buildfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# ==========================================================================
# Ki - Buildfile
# Copyright: (c) 2010 - Michael Cohen, and contributors
# License: Licensed under MIT license (see license.js)
# ==========================================================================
config :all,
:required => ['sproutcore/runtime'],
:test_required => ['sproutcore/runtime', 'sproutcore/foundation', 'sproutcore/desktop'],
:debug_required => ['sproutcore/runtime', 'sproutcore/foundation', 'sproutcore/desktop']
mode :debug do
config :all,
:combine_javascript => true,
:combine_stylesheet => true
end
# CORE FRAMEWORKS
config :foundation, :required => []
# WRAPPER FRAMEWORKS
config :mata, :required => [:foundation]
# SPECIAL THEMES
# These do not require any of the built-in SproutCore frameworks
%w(standard_theme empty_theme).each do |target_name|
config target_name,
:required => [], :test_required => [], :debug_required => []
end
# CONFIGURE THEMES
config :empty_theme,
:theme_name => 'empty-theme',
:test_required => ['sproutcore/testing'],
:debug_required => ['sproutcore/debug']
config :standard_theme,
:required => :empty_theme,
:theme_name => 'sc-theme',
:test_required => ['sproutcore/testing'],
:debug_required => ['sproutcore/debug']