forked from concord-consortium/codap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuildfile
33 lines (28 loc) · 1.18 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
# ===========================================================================
# Project: DG
# Copyright: ©2010 KCP Technlogies, Inc.
# ===========================================================================
# Add initial buildfile information here
# SproutCore 1.5.pre.5 requires explicit ace reference.
# (cf. https://github.com./sproutit/sproutcore-abbot/issues#issue/35)
config :all, :required => [:sproutcore, 'sproutcore/ace', "sproutcore/experimental/split_view"], :theme => 'sproutcore/ace'
# config :all, :required => [:sproutcore]
# config :all, :serve_public => 1
# When building dg, use the
config :dg,
:title => "Data Games",
:css_theme => 'ace.dg'
# Production build (e.g. sc-build, make deploy) configuration
mode :production do
config :dg,
:layout => 'dg:lib/index.rhtml'
end
# Debug build (e.g. sc-server) configuration
mode :debug do
config :dg,
:javascript_libs => [ # these urls will be inserted as the src of <script> tags in the <head> element
'https://maps.googleapis.com/maps/api/js?sensor=false' ]
# :layout => 'sproutcore:lib/index.rhtml',
end
# proxy for local dev.
proxy '/DataGames', :to => 'dg.kcptech.com'