Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 75 lines (54 sloc) 2.046 kB
bc9e812 Basic workflow for building projects is now in place. Rake tasks are…
Charles Jolley authored
1 # Import all build tasks
8186633 Fix bug that prevented buildfile from loading rake tasks when you sta…
Charles Jolley authored
2 import *Dir.glob(File.join(File.dirname(current_path), 'buildtasks', '**', '*.rake'))
bc9e812 Basic workflow for building projects is now in place. Rake tasks are…
Charles Jolley authored
3
920adf9 manifest:hide_buildfiles now hides debug and fixture files unless con…
Charles Jolley authored
4 mode :all do
5 config :all,
4957ea3 Added further unit tests for target; cleaned up left over files. bun…
Charles Jolley authored
6
920adf9 manifest:hide_buildfiles now hides debug and fixture files unless con…
Charles Jolley authored
7 # REQUIRED CONFIGS
8 # You will not usually need to override these configs, but the code
9 # assumes they will be present, so you must support them.
10 :build_prefix => 'tmp/build',
11 :staging_prefix => 'tmp/staging',
12 :url_prefix => 'static',
041ae22 Added tools-based approach
Charles Jolley authored
13
920adf9 manifest:hide_buildfiles now hides debug and fixture files unless con…
Charles Jolley authored
14 # Defines the directories that may contain targets, and maps them to a
15 # target type. When a project tries to find all of the targets in a
16 # project, it will use this map to find them.
17 :target_types => {
18 :apps => :app,
19 :clients => :app,
20 :frameworks => :framework,
21 },
041ae22 Added tools-based approach
Charles Jolley authored
22
920adf9 manifest:hide_buildfiles now hides debug and fixture files unless con…
Charles Jolley authored
23 # Allows the target to have other targets nested inside of it. Override
24 # this in your target Buildfile to disable nesting.
25 :allow_nested_targets => true,
26
27 # The default preferred language. Assets will be pulled from this
28 # language unless otherwise specified.
29 :preferred_language => :en,
30
31 # Do not include fixtures in built project.
32 :load_fixtures => false,
33
34 # Do not include debug directory in built project
86b2d92 Manifest now discovers requires and sc_resource directives and genera…
Charles Jolley authored
35 :load_debug => false,
36
37 # Do not build tests.
332c3ab Refactored javascript and css manifest tasks into two steps - one to …
Charles Jolley authored
38 :load_tests => false,
39
40 # Generate a combined javascript and stylesheet
41 :combine_javascript => true,
12ac78d Added stubs for remaining rake tasks. Updated sc-manifest and sc-bui…
Charles Jolley authored
42 :combine_stylesheet => true,
43
44 # by default all targets autobuild
24ee816 Added support for minifying CSS and JavaScript files. These function…
Charles Jolley authored
45 :autobuild => true,
46
47 # by default do not minify javacript or stylesheets
2220609 Add support for selecting a layout file + unit tests
Charles Jolley authored
48 :minify => false,
49
50 # use the default layout defined in SproutCore
51 :layout => 'sproutcore:lib/index.rhtml'
920adf9 manifest:hide_buildfiles now hides debug and fixture files unless con…
Charles Jolley authored
52 end
53
54
55 mode :debug do
56 config :all,
bc9e812 Basic workflow for building projects is now in place. Rake tasks are…
Charles Jolley authored
57
920adf9 manifest:hide_buildfiles now hides debug and fixture files unless con…
Charles Jolley authored
58 # in debug mode, load fixtures and debug code
59 :load_fixtures => true,
86b2d92 Manifest now discovers requires and sc_resource directives and genera…
Charles Jolley authored
60 :load_debug => true,
332c3ab Refactored javascript and css manifest tasks into two steps - one to …
Charles Jolley authored
61 :load_tests => true,
62
63 # Do not combine javascript and stylesheet
64 :combine_javascript => false,
65 :combine_stylesheet => false
d191100 Added task to generate html files for manifest
Charles Jolley authored
66
920adf9 manifest:hide_buildfiles now hides debug and fixture files unless con…
Charles Jolley authored
67 end
68
24ee816 Added support for minifying CSS and JavaScript files. These function…
Charles Jolley authored
69 mode :production do
70 # minify JS && CSS in production mode
71 config :all, :minify => true
72 end
73
74
Something went wrong with that request. Please try again.