Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 53 lines (45 sloc) 1.859 kb
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 43 44 45 46 47 48 49 50 51 52 53
# ==========================================================================
# SCUI JavaScript Framework - Buildfile
# copyright (c) 2009 - Evin Grano, and contributors
# ==========================================================================

# This buildfile defines the configurations needed to link together the
# various frameworks that make up CoreUI. If you want to override some
# of these settings, you should make changes to your project Buildfile
# instead.

config :all,
  :test_required => ['sproutcore'],
  :debug_required => ['sproutcore']

# in debug mode, combine the JS for SC by default. This will improve perf
# while working with apps. If you are hacking SC itself, you can turn this
# off in your project buildfile by referencing sproutcore specifically
mode :debug do
  config :all,
    :combine_javascript => true,
    :combine_stylesheet => true
end
  
# CORE FRAMEWORKS
config :foundation, :required => [:sproutcore]
config :calendar, :required => [:foundation]
config :dashboard, :required => [:foundation]
config :drawing, :required => [:foundation]
config :linkit, :required => [:foundation, :drawing]
config :sai, :required => [:foundation]

# WRAPPER FRAMEWORKS
config :scui, :required => [:foundation, :calendar, :dashboard, :drawing, :linkit, :sai]

# 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']
#
Something went wrong with that request. Please try again.