Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 112 lines (92 sloc) 4.124 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 Peter 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
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating authored
7 # This buildfile defines the configurations needed to link together the
856fe96 Costello now functions. Still need to get Abbot running unit tests thou...
Charles Jolley authored
8 # various frameworks that make up SproutCore. If you want to override some
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating authored
9 # of these settings, you should make changes to your project Buildfile
856fe96 Costello now functions. Still need to get Abbot running unit tests thou...
Charles Jolley authored
10 # instead.
9ed49c5 Alex Iskander Flesh out the Test Controls app some more, tweak styles for FormView, an...
ialexi authored
11
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating 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
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating authored
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
07ceeb0 Update testing framework to use new version of qunit, change testing fra...
Colin Campbell authored
30 config :jquery, :required => [], :test_required => [], :debug_required => []
ba18991 Move around the stylesheets into its own framework.
Peter Bergström authored
31 config :yuireset, :required => [], :test_required => [], :debug_required => []
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating authored
32 config :template_view, :required => [:core_foundation], :test_required => [:core_foundation]
e8e034f Rename amber to core_foundation
tomhuda authored
33 config :runtime, :required => [:jquery]
3fdc392 Separate core DateTime code from localization-specific code as core Date...
Colin Campbell authored
34 config :'datetime/core', :required => [:runtime]
35 config :datetime, :required => [:'datetime/core']
7755662 Move Template views to a separate framework called Templates
Juan Pinzon authored
36 config :core_foundation, :required => [:runtime, :yuireset]
5eb5248 Add 'datetime/localized' to the Buildfile configs so it doesn't bust for...
Colin Campbell authored
37 config :'datetime/localized', :required => [:core_foundation]
ccd4967 Peter Wagenet Extract routing into its own framework - Fixed #397
wagenet authored
38 config :routing, :required => [:core_foundation]
39 config :foundation, :required => [:routing, :core_foundation, :datetime, :'datetime/localized', :ajax]
90c1502 Peter Wagenet Added DateTime framework for use by DataStore and Foundation
wagenet authored
40 config :datastore, :required => [:runtime, :datetime]
099dbfa Jeff Pittman Added Buildfile entry for formatters framework. Tests now pass.
geojeff authored
41 config :formatters, :required => [:runtime, :foundation]
e8e034f Rename amber to core_foundation
tomhuda authored
42 config :desktop, :required => [:foundation]
43 config :media, :required => [:desktop]
c6f258a mlcohen Updated the statechart framework to provide routing support
mlcohen authored
44 config :statechart, :required => [:core_foundation], :test_required => [:core_foundation, :desktop, :routing]
032569d hvgotcodes move SC.Request/Response to new framework
hvgotcodes authored
45 config :ajax, :required => [:runtime, :core_foundation]
8b1f8a7 Moving more files to the new media framework
Juan Pinzon authored
46
f2ca88a sudarshanbhat Alex: Make sure SplitView tests always have SC, even in apps that don't ...
sudarshanbhat authored
47 config :"experimental/split_view", :test_required => [:desktop]
48
9250d55 Add new tests application
Charles Jolley authored
49 # WRAPPER FRAMEWORKS
faba428 Tyler Keating My mistake, I didn't recognize that the pull request wasn't a 1-to-1 fun...
publickeating authored
50 config :sproutcore, :required => [:desktop, :datastore, :statechart, :template_view]
c363ec4 Alex Iskander Start integration of FormView, and make FlowedLayout mixin.
ialexi authored
51 config :animation, :required => :foundation
ce82855 Mike Ball Updated Buildfile to include designer framework
onkis authored
52
07ceeb0 Update testing framework to use new version of qunit, change testing fra...
Colin Campbell authored
53 config :qunit, :required => []
54 config :testing, :required => [:jquery], :test_required => [], :debug_required => []
55
9250d55 Add new tests application
Charles Jolley authored
56 # SPECIAL FRAMEWORKS AND THEMES
57 # These do not require any of the built-in SproutCore frameworks
07ceeb0 Update testing framework to use new version of qunit, change testing fra...
Colin Campbell authored
58 %w(debug legacy_theme empty_theme).each do |target_name|
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating authored
59 config target_name,
5e2803e Initial commit of themes. Rebuilt/moved basic index.rhtml template. It...
Charles Jolley authored
60 :required => [], :test_required => [], :debug_required => []
61 end
62
9250d55 Add new tests application
Charles Jolley authored
63 # CONFIGURE THEMES
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating authored
64 config :empty_theme,
a109390 Cleanup of images; placed unit testing into its own div
Charles Jolley authored
65 :theme_name => 'empty-theme',
b8b3cc5 Revert to master, plus a few changes.
Alex Iskander authored
66 :test_required => ['sproutcore/testing'],
a109390 Cleanup of images; placed unit testing into its own div
Charles Jolley authored
67 :debug_required => ['sproutcore/debug']
5e2803e Initial commit of themes. Rebuilt/moved basic index.rhtml template. It...
Charles Jolley authored
68
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating authored
69 config :iphone_theme,
b92346b Basic iphone support
Charles Jolley authored
70 :theme_name => 'iphone-theme',
71 :required => [],
72 :test_required => ['sproutcore/testing'],
73 :debug_required => ['sproutcore/debug']
74
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating authored
75 config :legacy_theme,
76 :required => :empty_theme,
a109390 Cleanup of images; placed unit testing into its own div
Charles Jolley authored
77 :theme_name => 'sc-theme',
78 :test_required => ['sproutcore/testing'],
79 :debug_required => ['sproutcore/debug']
9250d55 Add new tests application
Charles Jolley authored
80
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating authored
81 config :ace,
82 :required => :empty_theme,
f2c5057 Clean up Buildfile a little.
Alex Iskander authored
83 :theme_name => nil,
c363ec4 Alex Iskander Start integration of FormView, and make FlowedLayout mixin.
ialexi authored
84 :test_required => ['sproutcore/testing'],
2575c1c Include CSS theme name in buildfile so we can use $theme.
Alex Iskander authored
85 :debug_required => ['sproutcore/debug'],
86 :css_theme => 'ace'
c363ec4 Alex Iskander Start integration of FormView, and make FlowedLayout mixin.
ialexi authored
87
b8b3cc5 Revert to master, plus a few changes.
Alex Iskander authored
88 # CONFIGURE APPS
cc84db8 Add experimental SplitView.
Alex Iskander authored
89 config :core_tools, :required => [
e3942ff Peter Wagenet Moved forms framework to experimental
wagenet authored
90 :desktop, :datastore, :animation, "sproutcore/experimental/forms",
65676ca Make Test Controls use experimental SelectView
Alex Iskander authored
91 "sproutcore/ace",
92
93 # The SC apps will use the experimental version of these controls:
94 "sproutcore/experimental/select_view",
95 "sproutcore/experimental/split_view"
cc84db8 Add experimental SplitView.
Alex Iskander authored
96 ]
8192cff Towards a better Buildfile
Charles Jolley authored
97
98 # mode :debug do
99 # config :core_tools, :combine_javascript => false
100 # end
101
f10421b Peter Wagenet Revert "Removed TestControls from Buildfile"
wagenet authored
102 %w(tests test_controls welcome).each do |app_target|
10602f9 Tyler Keating Missed commit. Update Buildfile
publickeating authored
103 config app_target,
4456acf Martin Ottenwaelter HTML5 history documentation tweaks, and :html5_history option for Buildf...
martoche authored
104 :required => [:desktop, :datastore, :core_tools],
763c490 Fix problem with animation callbacks incorrectly getting called, refacto...
Colin Campbell authored
105 :theme => :ace
f2c5057 Clean up Buildfile a little.
Alex Iskander authored
106
8192cff Towards a better Buildfile
Charles Jolley authored
107 # mode :debug do
108 # config app_target, :combine_javascript => false
109 # end
f2c5057 Clean up Buildfile a little.
Alex Iskander authored
110
9250d55 Add new tests application
Charles Jolley authored
111 end
Something went wrong with that request. Please try again.