Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 113 lines (91 sloc) 3.631 kb
856fe96 Costello now functions. Still need to get Abbot running unit tests thou...
Charles Jolley authored
1 # ==========================================================================
2 # SproutCore JavaScript Framework - Buildfile
f2a3f93 Fix copyright statements to say Apple Inc
Charles Jolley authored
3 # copyright (c) 2009 - Apple Inc.
175e3f7 @wagenet Missed a copyright
wagenet authored
4 # portions copyright Strobe Inc. and contributors
856fe96 Costello now functions. Still need to get Abbot running unit tests thou...
Charles Jolley authored
5 # ==========================================================================
6
7 # This buildfile defines the configurations needed to link together the
8 # various frameworks that make up SproutCore. If you want to override some
9 # of these settings, you should make changes to your project Buildfile
10 # instead.
9ed49c5 @ialexi Flesh out the Test Controls app some more, tweak styles for FormView, an...
ialexi authored
11
33e3682 Basic setup needed to get costello + unit tests running
Charles Jolley authored
12 config :all,
cece343 Moved unit testing code into its own framework; make all costello unit t...
Charles Jolley authored
13 :layout => 'sproutcore:lib/index.rhtml',
5e2803e Initial commit of themes. Rebuilt/moved basic index.rhtml template. It...
Charles Jolley authored
14 :test_layout => 'sproutcore:lib/index.rhtml',
9d3401e Including empty_theme causes issues. You don't need it during testing.
Alex Iskander authored
15 :test_required => ['sproutcore/testing'],
cce5488 Load testing framework as part of debug mode.
Charles Jolley authored
16 :debug_required => ['sproutcore/debug', 'sproutcore/testing']
9250d55 Add new tests application
Charles Jolley authored
17
d9d232d Buildfile now combines JS by default
Charles Jolley authored
18 # in debug mode, combine the JS for SC by default. This will improve perf
19 # while working with apps. If you are hacking SC itself, you can turn this
20 # off in your project buildfile by referencing sproutcore specifically
21 mode :debug do
22 config :all,
d831243 Combine javascripts in debug mode for SproutCore to speed up dev.
Charles Jolley authored
23 :combine_javascript => true,
d9d232d Buildfile now combines JS by default
Charles Jolley authored
24 :combine_stylesheet => true
25 end
26
9250d55 Add new tests application
Charles Jolley authored
27 # CORE FRAMEWORKS
6891ba0 Move bootstrap into its own inlined file.
Charles Jolley authored
28 config :bootstrap, :required => [], :use_modules => false
29
c78e1bf Refactoring tests, ObserverSet and whitespace
Yehuda Katz authored
30 config :jquery, :required => []
31 config :runtime, :required => [:jquery]
f750b5b @wycats Move sparse_array and the protocols to amber
wycats authored
32 config :amber, :required => [:runtime]
33 config :foundation, :required => [:amber]
6fdb19a Fix for segemented view unit tests. Fix datastore requirement. It need f...
Juan Pinzon authored
34 config :datastore, :required => [:foundation]
f750b5b @wycats Move sparse_array and the protocols to amber
wycats authored
35 config :statechart, :required => [:amber]
5551211 Squashed commit of the following:
Charles Jolley authored
36 config :desktop, :required => [:foundation]
37 config :media, :required => [:desktop]
8b1f8a7 Moving more files to the new media framework
Juan Pinzon authored
38
9250d55 Add new tests application
Charles Jolley authored
39 # APP-LEVEL FRAMEWORKS
5551211 Squashed commit of the following:
Charles Jolley authored
40 %w(mobile designer).each do |app_framework|
b8b3cc5 Revert to master, plus a few changes.
Alex Iskander authored
41 config app_framework, :required => [:runtime, :datastore, :foundation]
9250d55 Add new tests application
Charles Jolley authored
42 end
856fe96 Costello now functions. Still need to get Abbot running unit tests thou...
Charles Jolley authored
43
b92346b Basic iphone support
Charles Jolley authored
44 config :mobile,
45 :layout => 'sproutcore/mobile:lib/index.rhtml',
46 :test_layout => 'sproutcore/mobile:lib/index.rhtml'
47
9250d55 Add new tests application
Charles Jolley authored
48 # WRAPPER FRAMEWORKS
ce82855 @onkis Updated Buildfile to include designer framework
onkis authored
49 config :designer, :required => [:runtime, :foundation]
5551211 Squashed commit of the following:
Charles Jolley authored
50 config :sproutcore, :required => [:desktop, :datastore]
d5567bc Add mini framework to build
Charles Jolley authored
51 config :mini, :required => [:runtime, :datastore]
c363ec4 @ialexi Start integration of FormView, and make FlowedLayout mixin.
ialexi authored
52 config :animation, :required => :foundation
53 config :forms, :required => :desktop
ce82855 @onkis Updated Buildfile to include designer framework
onkis authored
54
9250d55 Add new tests application
Charles Jolley authored
55 # SPECIAL FRAMEWORKS AND THEMES
56 # These do not require any of the built-in SproutCore frameworks
5e2803e Initial commit of themes. Rebuilt/moved basic index.rhtml template. It...
Charles Jolley authored
57 %w(testing debug standard_theme empty_theme).each do |target_name|
9250d55 Add new tests application
Charles Jolley authored
58 config target_name,
5e2803e Initial commit of themes. Rebuilt/moved basic index.rhtml template. It...
Charles Jolley authored
59 :required => [], :test_required => [], :debug_required => []
60 end
61
9250d55 Add new tests application
Charles Jolley authored
62 # CONFIGURE THEMES
a109390 Cleanup of images; placed unit testing into its own div
Charles Jolley authored
63 config :empty_theme,
64 :theme_name => 'empty-theme',
b8b3cc5 Revert to master, plus a few changes.
Alex Iskander authored
65 :test_required => ['sproutcore/testing'],
a109390 Cleanup of images; placed unit testing into its own div
Charles Jolley authored
66 :debug_required => ['sproutcore/debug']
5e2803e Initial commit of themes. Rebuilt/moved basic index.rhtml template. It...
Charles Jolley authored
67
b92346b Basic iphone support
Charles Jolley authored
68 config :iphone_theme,
69 :theme_name => 'iphone-theme',
70 :required => [],
71 :test_required => ['sproutcore/testing'],
72 :debug_required => ['sproutcore/debug']
73
5e2803e Initial commit of themes. Rebuilt/moved basic index.rhtml template. It...
Charles Jolley authored
74 config :standard_theme,
a109390 Cleanup of images; placed unit testing into its own div
Charles Jolley authored
75 :required => :empty_theme,
76 :theme_name => 'sc-theme',
77 :test_required => ['sproutcore/testing'],
78 :debug_required => ['sproutcore/debug']
9250d55 Add new tests application
Charles Jolley authored
79
8fc6ae6 @ialexi ButtonView using automatic sizing causes regressions in SelectView (and,...
ialexi authored
80 config :ace,
98da014 @ialexi Fixing fixing fixing. Changing this fixed things for me, and it is like ...
ialexi authored
81 :required => :empty_theme,
c363ec4 @ialexi Start integration of FormView, and make FlowedLayout mixin.
ialexi authored
82 :theme_name => 'sc-theme',
83 :test_required => ['sproutcore/testing'],
2575c1c Include CSS theme name in buildfile so we can use $theme.
Alex Iskander authored
84 :debug_required => ['sproutcore/debug'],
85 :css_theme => 'ace'
c363ec4 @ialexi Start integration of FormView, and make FlowedLayout mixin.
ialexi authored
86
b8b3cc5 Revert to master, plus a few changes.
Alex Iskander authored
87 # CONFIGURE APPS
192c2c2 @ialexi Improve documentation somewhat.
ialexi authored
88
9250d55 Add new tests application
Charles Jolley authored
89 # CONFIGURE APPS
c363ec4 @ialexi Start integration of FormView, and make FlowedLayout mixin.
ialexi authored
90 config :core_tools, :required => [:desktop, :datastore, :animation, :forms]
8192cff Towards a better Buildfile
Charles Jolley authored
91
92 # mode :debug do
93 # config :core_tools, :combine_javascript => false
94 # end
95
c363ec4 @ialexi Start integration of FormView, and make FlowedLayout mixin.
ialexi authored
96 %w(tests test_controls docs welcome).each do |app_target|
8192cff Towards a better Buildfile
Charles Jolley authored
97 config app_target,
4456acf @martoche HTML5 history documentation tweaks, and :html5_history option for Buildf...
martoche authored
98 :required => [:desktop, :datastore, :core_tools],
99 :theme => :ace,
100 :html5_history => true
8192cff Towards a better Buildfile
Charles Jolley authored
101
102 # mode :debug do
103 # config app_target, :combine_javascript => false
104 # end
105
9250d55 Add new tests application
Charles Jolley authored
106 end
5bd7831 Add Greenhouse to buildfile
Charles Jolley authored
107
ca498c3 Add ability to test dark ace theme from test controls.
Alex Iskander authored
108 config :test_controls, :css_theme => 'ace.test-controls'
109
5bd7831 Add Greenhouse to buildfile
Charles Jolley authored
110 config :greenhouse,
111 :required => [:sproutcore, :'sproutcore/designer', :statechart],
b8b3cc5 Revert to master, plus a few changes.
Alex Iskander authored
112 :theme => :standard_theme
Something went wrong with that request. Please try again.