assaf-buildr 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +887 -0
- data/DISCLAIMER +7 -0
- data/LICENSE +176 -0
- data/NOTICE +26 -0
- data/README.rdoc +146 -0
- data/Rakefile +62 -0
- data/_buildr +38 -0
- data/addon/buildr/antlr.rb +65 -0
- data/addon/buildr/cobertura.rb +236 -0
- data/addon/buildr/emma.rb +238 -0
- data/addon/buildr/hibernate.rb +142 -0
- data/addon/buildr/javacc.rb +85 -0
- data/addon/buildr/jdepend.rb +60 -0
- data/addon/buildr/jetty.rb +248 -0
- data/addon/buildr/jibx.rb +86 -0
- data/addon/buildr/nailgun.rb +817 -0
- data/addon/buildr/openjpa.rb +90 -0
- data/addon/buildr/org/apache/buildr/BuildrNail$Main.class +0 -0
- data/addon/buildr/org/apache/buildr/BuildrNail.class +0 -0
- data/addon/buildr/org/apache/buildr/BuildrNail.java +41 -0
- data/addon/buildr/org/apache/buildr/JettyWrapper$1.class +0 -0
- data/addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class +0 -0
- data/addon/buildr/org/apache/buildr/JettyWrapper.class +0 -0
- data/addon/buildr/org/apache/buildr/JettyWrapper.java +144 -0
- data/addon/buildr/xmlbeans.rb +93 -0
- data/bin/buildr +28 -0
- data/buildr.buildfile +53 -0
- data/buildr.gemspec +58 -0
- data/doc/css/default.css +228 -0
- data/doc/css/print.css +100 -0
- data/doc/css/syntax.css +52 -0
- data/doc/images/apache-incubator-logo.png +0 -0
- data/doc/images/buildr-hires.png +0 -0
- data/doc/images/buildr.png +0 -0
- data/doc/images/favicon.png +0 -0
- data/doc/images/growl-icon.tiff +0 -0
- data/doc/images/note.png +0 -0
- data/doc/images/project-structure.png +0 -0
- data/doc/images/tip.png +0 -0
- data/doc/images/zbuildr.tif +0 -0
- data/doc/pages/artifacts.textile +207 -0
- data/doc/pages/building.textile +240 -0
- data/doc/pages/contributing.textile +208 -0
- data/doc/pages/download.textile +62 -0
- data/doc/pages/extending.textile +175 -0
- data/doc/pages/getting_started.textile +273 -0
- data/doc/pages/index.textile +42 -0
- data/doc/pages/languages.textile +407 -0
- data/doc/pages/mailing_lists.textile +17 -0
- data/doc/pages/more_stuff.textile +286 -0
- data/doc/pages/packaging.textile +427 -0
- data/doc/pages/projects.textile +274 -0
- data/doc/pages/recipes.textile +103 -0
- data/doc/pages/settings_profiles.textile +274 -0
- data/doc/pages/testing.textile +212 -0
- data/doc/pages/troubleshooting.textile +103 -0
- data/doc/pages/whats_new.textile +323 -0
- data/doc/print.haml +51 -0
- data/doc/print.toc.yaml +29 -0
- data/doc/scripts/buildr-git.rb +412 -0
- data/doc/scripts/install-jruby.sh +44 -0
- data/doc/scripts/install-linux.sh +64 -0
- data/doc/scripts/install-osx.sh +52 -0
- data/doc/site.haml +56 -0
- data/doc/site.toc.yaml +47 -0
- data/etc/KEYS +151 -0
- data/etc/git-svn-authors +16 -0
- data/lib/buildr.rb +35 -0
- data/lib/buildr/core.rb +27 -0
- data/lib/buildr/core/application.rb +489 -0
- data/lib/buildr/core/application_cli.rb +139 -0
- data/lib/buildr/core/build.rb +311 -0
- data/lib/buildr/core/checks.rb +382 -0
- data/lib/buildr/core/common.rb +154 -0
- data/lib/buildr/core/compile.rb +596 -0
- data/lib/buildr/core/environment.rb +120 -0
- data/lib/buildr/core/filter.rb +362 -0
- data/lib/buildr/core/generate.rb +195 -0
- data/lib/buildr/core/help.rb +118 -0
- data/lib/buildr/core/progressbar.rb +156 -0
- data/lib/buildr/core/project.rb +892 -0
- data/lib/buildr/core/test.rb +715 -0
- data/lib/buildr/core/transports.rb +558 -0
- data/lib/buildr/core/util.rb +289 -0
- data/lib/buildr/groovy.rb +18 -0
- data/lib/buildr/groovy/bdd.rb +105 -0
- data/lib/buildr/groovy/compiler.rb +138 -0
- data/lib/buildr/ide.rb +19 -0
- data/lib/buildr/ide/eclipse.rb +212 -0
- data/lib/buildr/ide/idea.ipr.template +300 -0
- data/lib/buildr/ide/idea.rb +189 -0
- data/lib/buildr/ide/idea7x.ipr.template +290 -0
- data/lib/buildr/ide/idea7x.rb +210 -0
- data/lib/buildr/java.rb +23 -0
- data/lib/buildr/java/ant.rb +92 -0
- data/lib/buildr/java/bdd.rb +449 -0
- data/lib/buildr/java/commands.rb +211 -0
- data/lib/buildr/java/compiler.rb +348 -0
- data/lib/buildr/java/deprecated.rb +141 -0
- data/lib/buildr/java/jruby.rb +117 -0
- data/lib/buildr/java/jtestr_runner.rb.erb +116 -0
- data/lib/buildr/java/org/apache/buildr/JavaTestFilter.class +0 -0
- data/lib/buildr/java/org/apache/buildr/JavaTestFilter.java +119 -0
- data/lib/buildr/java/packaging.rb +713 -0
- data/lib/buildr/java/pom.rb +178 -0
- data/lib/buildr/java/rjb.rb +155 -0
- data/lib/buildr/java/test_result.rb +308 -0
- data/lib/buildr/java/tests.rb +324 -0
- data/lib/buildr/java/version_requirement.rb +172 -0
- data/lib/buildr/packaging.rb +21 -0
- data/lib/buildr/packaging/artifact.rb +730 -0
- data/lib/buildr/packaging/artifact_namespace.rb +972 -0
- data/lib/buildr/packaging/artifact_search.rb +140 -0
- data/lib/buildr/packaging/gems.rb +102 -0
- data/lib/buildr/packaging/package.rb +233 -0
- data/lib/buildr/packaging/tar.rb +104 -0
- data/lib/buildr/packaging/zip.rb +722 -0
- data/lib/buildr/resources/buildr.icns +0 -0
- data/lib/buildr/scala.rb +19 -0
- data/lib/buildr/scala/compiler.rb +109 -0
- data/lib/buildr/scala/tests.rb +203 -0
- data/rakelib/apache.rake +191 -0
- data/rakelib/changelog.rake +57 -0
- data/rakelib/doc.rake +103 -0
- data/rakelib/package.rake +73 -0
- data/rakelib/release.rake +65 -0
- data/rakelib/rspec.rake +83 -0
- data/rakelib/rubyforge.rake +53 -0
- data/rakelib/scm.rake +49 -0
- data/rakelib/setup.rake +86 -0
- data/rakelib/stage.rake +48 -0
- data/spec/addon/cobertura_spec.rb +77 -0
- data/spec/addon/emma_spec.rb +120 -0
- data/spec/addon/test_coverage_spec.rb +255 -0
- data/spec/core/application_spec.rb +412 -0
- data/spec/core/artifact_namespace_spec.rb +646 -0
- data/spec/core/build_spec.rb +415 -0
- data/spec/core/checks_spec.rb +537 -0
- data/spec/core/common_spec.rb +664 -0
- data/spec/core/compile_spec.rb +566 -0
- data/spec/core/generate_spec.rb +33 -0
- data/spec/core/project_spec.rb +754 -0
- data/spec/core/test_spec.rb +1091 -0
- data/spec/core/transport_spec.rb +500 -0
- data/spec/groovy/bdd_spec.rb +80 -0
- data/spec/groovy/compiler_spec.rb +239 -0
- data/spec/ide/eclipse_spec.rb +243 -0
- data/spec/java/ant.rb +28 -0
- data/spec/java/bdd_spec.rb +358 -0
- data/spec/java/compiler_spec.rb +446 -0
- data/spec/java/java_spec.rb +88 -0
- data/spec/java/packaging_spec.rb +1103 -0
- data/spec/java/tests_spec.rb +466 -0
- data/spec/packaging/archive_spec.rb +503 -0
- data/spec/packaging/artifact_spec.rb +754 -0
- data/spec/packaging/packaging_helper.rb +63 -0
- data/spec/packaging/packaging_spec.rb +589 -0
- data/spec/sandbox.rb +137 -0
- data/spec/scala/compiler_spec.rb +228 -0
- data/spec/scala/tests_spec.rb +215 -0
- data/spec/spec_helpers.rb +304 -0
- data/spec/version_requirement_spec.rb +123 -0
- metadata +369 -0
data/buildr.gemspec
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one or more
|
2
|
+
# contributor license agreements. See the NOTICE file distributed with this
|
3
|
+
# work for additional information regarding copyright ownership. The ASF
|
4
|
+
# licenses this file to you under the Apache License, Version 2.0 (the
|
5
|
+
# "License"); you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
12
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
13
|
+
# License for the specific language governing permissions and limitations under
|
14
|
+
# the License.
|
15
|
+
|
16
|
+
|
17
|
+
Gem::Specification.new do |spec|
|
18
|
+
spec.name = 'buildr'
|
19
|
+
spec.version = '1.3.3'
|
20
|
+
spec.author = 'Apache Buildr'
|
21
|
+
spec.email = "buildr-user@incubator.apache.org"
|
22
|
+
spec.homepage = "http://incubator.apache.org/buildr"
|
23
|
+
spec.summary = 'A build system that doesn\'t suck'
|
24
|
+
spec.rubyforge_project = 'buildr'
|
25
|
+
|
26
|
+
# Rakefile needs to create spec for both platforms (ruby and java), using the
|
27
|
+
# $platform global variable. In all other cases, we figure it out from RUBY_PLATFORM.
|
28
|
+
spec.platform = $platform || RUBY_PLATFORM[/java/] || 'ruby'
|
29
|
+
|
30
|
+
spec.files = Dir['lib/**/*', 'bin/**/*', 'addon/**/*', 'doc/**/*', 'spec/**/*',
|
31
|
+
'README.rdoc', 'LICENSE', 'NOTICE', 'DISCLAIMER', 'CHANGELOG',
|
32
|
+
'buildr.*', 'Rakefile', 'rakelib/**/*', '_buildr', 'etc/**/*']
|
33
|
+
spec.require_paths = ['lib', 'addon']
|
34
|
+
spec.bindir = 'bin' # Use these for applications.
|
35
|
+
spec.executable = 'buildr'
|
36
|
+
|
37
|
+
spec.has_rdoc = true
|
38
|
+
spec.extra_rdoc_files = ['README.rdoc', 'CHANGELOG', 'LICENSE', 'NOTICE', 'DISCLAIMER']
|
39
|
+
spec.rdoc_options << '--title' << "Buildr" << '--main' << 'README.rdoc' <<
|
40
|
+
'--line-numbers' << '--inline-source' << '-p' <<
|
41
|
+
'--webcvs' << 'http://svn.apache.org/repos/asf/incubator/buildr/trunk/'
|
42
|
+
|
43
|
+
# Tested against these dependencies.
|
44
|
+
spec.add_dependency 'rake', '0.8.1'
|
45
|
+
spec.add_dependency 'builder', '2.1.2'
|
46
|
+
spec.add_dependency 'net-ssh', '2.0.4'
|
47
|
+
spec.add_dependency 'net-sftp', '2.0.1'
|
48
|
+
spec.add_dependency 'rubyzip', '0.9.1'
|
49
|
+
spec.add_dependency 'highline', '1.4.0'
|
50
|
+
spec.add_dependency 'rubyforge', '1.0.0'
|
51
|
+
spec.add_dependency 'hoe', '1.7.0'
|
52
|
+
spec.add_dependency 'rjb', '1.1.6' if spec.platform.to_s == 'ruby'
|
53
|
+
spec.add_dependency 'Antwrap', '0.7.0'
|
54
|
+
spec.add_dependency 'rspec', '1.1.5'
|
55
|
+
spec.add_dependency 'xml-simple', '1.0.11'
|
56
|
+
spec.add_dependency 'archive-tar-minitar', '0.5.2'
|
57
|
+
spec.add_dependency 'jruby-openssl', '0.2' if spec.platform.to_s == 'java'
|
58
|
+
end
|
data/doc/css/default.css
ADDED
@@ -0,0 +1,228 @@
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with this
|
3
|
+
* work for additional information regarding copyright ownership. The ASF
|
4
|
+
* licenses this file to you under the Apache License, Version 2.0 (the
|
5
|
+
* "License"); you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
12
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
13
|
+
* License for the specific language governing permissions and limitations
|
14
|
+
* under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
|
18
|
+
body {
|
19
|
+
background-color: #fff;
|
20
|
+
color: #000;
|
21
|
+
font-family: "DejaVu Sans", Verdana, Helvetica;
|
22
|
+
text-align: center;
|
23
|
+
line-height: 150%;
|
24
|
+
font-size: 12pt;
|
25
|
+
}
|
26
|
+
|
27
|
+
a:link, a:visited{
|
28
|
+
color: #0044b3;
|
29
|
+
text-decoration: none;
|
30
|
+
}
|
31
|
+
|
32
|
+
a:hover{
|
33
|
+
text-decoration: underline;
|
34
|
+
}
|
35
|
+
|
36
|
+
img {
|
37
|
+
border: none;
|
38
|
+
}
|
39
|
+
|
40
|
+
pre, code {
|
41
|
+
font-family: "DejaVu Sans Mono", "Courier New", "Courier";
|
42
|
+
font-size: 11pt;
|
43
|
+
}
|
44
|
+
pre {
|
45
|
+
margin: 0.3em 0 0.3em 0.9em;
|
46
|
+
padding: 0;
|
47
|
+
line-height: 135%;
|
48
|
+
white-space: pre-wrap; /* css-3 */
|
49
|
+
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
50
|
+
}
|
51
|
+
|
52
|
+
h1, h2, h3 {
|
53
|
+
padding: 0;
|
54
|
+
margin: 1.6em 0 0.6em -0.9em;
|
55
|
+
line-height: 1.25em;
|
56
|
+
letter-spacing: 0.03em;
|
57
|
+
}
|
58
|
+
|
59
|
+
h1 {
|
60
|
+
font-size: 2em;
|
61
|
+
margin-top: 0;
|
62
|
+
padding-bottom: 0.3em;
|
63
|
+
border-bottom: 1px solid #808080;
|
64
|
+
}
|
65
|
+
|
66
|
+
h2 {
|
67
|
+
font-size: 1.3em;
|
68
|
+
padding-bottom: 0.3em;
|
69
|
+
border-bottom: 1px solid #a0a0a0;
|
70
|
+
}
|
71
|
+
|
72
|
+
h3 {
|
73
|
+
font-size: 1.1em;
|
74
|
+
}
|
75
|
+
|
76
|
+
blockquote {
|
77
|
+
padding-left: 2em;
|
78
|
+
padding-right: 2em;
|
79
|
+
margin-left: 0.3em;
|
80
|
+
margin-right: 0;
|
81
|
+
border-left: 1px solid #3c78b5;
|
82
|
+
}
|
83
|
+
|
84
|
+
ul {
|
85
|
+
list-style-type: disc;
|
86
|
+
}
|
87
|
+
|
88
|
+
ul ul {
|
89
|
+
list-style-type: disc;
|
90
|
+
padding-left: 1em;
|
91
|
+
}
|
92
|
+
|
93
|
+
table {
|
94
|
+
border-spacing: 0;
|
95
|
+
width: 100%;
|
96
|
+
margin: 0.3em 0 0.3em 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
th, td {
|
100
|
+
padding: 0.3em 0.5em 0.3em 0.5em;
|
101
|
+
border-bottom: 1px solid #D8D8D8;
|
102
|
+
vertical-align: top;
|
103
|
+
background-color: #FFFFFF;
|
104
|
+
}
|
105
|
+
|
106
|
+
th, thead td {
|
107
|
+
border-bottom: none;
|
108
|
+
background-color: #669966;
|
109
|
+
color: #ffffff;
|
110
|
+
text-align: left;
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
#wrap{
|
115
|
+
margin: 1em auto 2em auto;
|
116
|
+
text-align: left;
|
117
|
+
width: 65em;
|
118
|
+
}
|
119
|
+
|
120
|
+
|
121
|
+
#header {
|
122
|
+
margin: 0 0 3em 18em;
|
123
|
+
}
|
124
|
+
|
125
|
+
#header .tagline {
|
126
|
+
float: right;
|
127
|
+
font-size: 1.5em;
|
128
|
+
font-weight: bold;
|
129
|
+
position: relative;
|
130
|
+
bottom: 4.5em;
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
#pages { /* Parent Wrapper for inside boxes */
|
135
|
+
/* display: inline; */ /* IE Hack */
|
136
|
+
width: 12em;
|
137
|
+
float: left;
|
138
|
+
text-align: left;
|
139
|
+
margin-right: 2em;
|
140
|
+
font-family: "DejaVu Sans", Verdana, Helvetica;
|
141
|
+
font-size: 11pt;
|
142
|
+
text-align: right;
|
143
|
+
border-right: 1px solid #ccc;
|
144
|
+
padding-right: 2em;
|
145
|
+
}
|
146
|
+
#pages ol {
|
147
|
+
list-style: none;
|
148
|
+
padding: 0;
|
149
|
+
margin: 0;
|
150
|
+
}
|
151
|
+
#pages ol li {
|
152
|
+
padding: 0.3em 0 0.6em 0em;
|
153
|
+
color: #669966;
|
154
|
+
font-weight: bold;
|
155
|
+
}
|
156
|
+
#pages ol li ol {
|
157
|
+
margin-top: 0.3em;
|
158
|
+
padding: 0.3em 0 0.9em 0.9em;
|
159
|
+
}
|
160
|
+
#pages ol li ol li {
|
161
|
+
padding: 0.3em 0 0.3em 0em;
|
162
|
+
}
|
163
|
+
#pages ol li a {
|
164
|
+
font-weight: normal;
|
165
|
+
}
|
166
|
+
#pages form {
|
167
|
+
margin-top: 2em;
|
168
|
+
padding: 0.3em 0 0.5em 0.5em;
|
169
|
+
}
|
170
|
+
|
171
|
+
|
172
|
+
#content { /* Parent Wrapper for inside boxes */
|
173
|
+
/* display: inline; *//* IE Hack */
|
174
|
+
float: right;
|
175
|
+
width: 44em;
|
176
|
+
margin-left: 0.3em;
|
177
|
+
margin-bottom: 5em;
|
178
|
+
}
|
179
|
+
|
180
|
+
ol.toc {
|
181
|
+
list-style: none;
|
182
|
+
padding: 0;
|
183
|
+
margin: 0 0 2em 0;
|
184
|
+
}
|
185
|
+
ol.toc li {
|
186
|
+
padding: 0.3em 0 0.3em 0;
|
187
|
+
margin: 0;
|
188
|
+
}
|
189
|
+
ol.toc li ol.toc {
|
190
|
+
margin: 0;
|
191
|
+
padding-left: 0.9em;
|
192
|
+
}
|
193
|
+
|
194
|
+
|
195
|
+
#content p.tip, #content p.note {
|
196
|
+
margin: 0.9em 0 0 0;
|
197
|
+
padding: 0 0 2em 4em;
|
198
|
+
}
|
199
|
+
#content p.tip { background: url("../images/tip.png") 0 0 no-repeat; }
|
200
|
+
#content p.note { background: url("../images/note.png") 0 0 no-repeat; }
|
201
|
+
|
202
|
+
#content .footnote {
|
203
|
+
margin-top: 2.5em;
|
204
|
+
}
|
205
|
+
#content .footnote {
|
206
|
+
padding-top: 1.5em;
|
207
|
+
border-top: 1px solid #ccc;
|
208
|
+
}
|
209
|
+
#content .footnote + .footnote {
|
210
|
+
margin-top: 0.5em;
|
211
|
+
padding-top: 0;
|
212
|
+
border: none;
|
213
|
+
}
|
214
|
+
#content .footnote sup { font-weight: bold; }
|
215
|
+
|
216
|
+
#content .footnote-links dt { font-weight: bold; }
|
217
|
+
#content .footnote-links dt:after { content: ": " }
|
218
|
+
#content .footnote-links dd { }
|
219
|
+
|
220
|
+
|
221
|
+
#footer {
|
222
|
+
color: #888;
|
223
|
+
border-top: 1px solid #ccc;
|
224
|
+
font-size: 0.9em;
|
225
|
+
padding: 0.3em;
|
226
|
+
margin: 2em 0 3em 0em;
|
227
|
+
clear: both;
|
228
|
+
}
|
data/doc/css/print.css
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with this
|
3
|
+
* work for additional information regarding copyright ownership. The ASF
|
4
|
+
* licenses this file to you under the Apache License, Version 2.0 (the
|
5
|
+
* "License"); you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
12
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
13
|
+
* License for the specific language governing permissions and limitations
|
14
|
+
* under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
|
18
|
+
@page {
|
19
|
+
margin: 1in 0.75in 1in 0.75in;
|
20
|
+
@top-left, @top-right {
|
21
|
+
font-family: "Gill Sans", "DejaVu Sans", Verdana, Helvetica;
|
22
|
+
font-weight: normal;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
@page:left {
|
26
|
+
@top-left { content: counter(page); }
|
27
|
+
@top-right { content: string(pagetitle); }
|
28
|
+
}
|
29
|
+
@page:right {
|
30
|
+
@top-left { content: string(pagetitle); }
|
31
|
+
@top-right { content: counter(page); }
|
32
|
+
}
|
33
|
+
@page:first {
|
34
|
+
@top-left { content: normal }
|
35
|
+
@top-right { content: normal }
|
36
|
+
}
|
37
|
+
|
38
|
+
@media print {
|
39
|
+
title { string-set: doctitle content(); }
|
40
|
+
|
41
|
+
body {
|
42
|
+
font-family: "Palatino", "DejaVu Serif", Helvetica;
|
43
|
+
font-size: 12pt;
|
44
|
+
margin: 0;
|
45
|
+
color: black;
|
46
|
+
background: white;
|
47
|
+
}
|
48
|
+
|
49
|
+
h1 {
|
50
|
+
string-set: pagetitle content();
|
51
|
+
page-break-before: always;
|
52
|
+
}
|
53
|
+
h1:first-child { page-break-before: avoid; }
|
54
|
+
h1, h2, h3, ol.toc {
|
55
|
+
font-family: "Gill Sans", "Courier", "DejaVu Sans", Verdana, Helvetica;
|
56
|
+
}
|
57
|
+
pre, p, blockquote { page-break-inside: avoid; }
|
58
|
+
pre, code {
|
59
|
+
font-family: "Monaco", "DejaVu Sans Mono", "Courier New", "Courier";
|
60
|
+
font-size: 10pt;
|
61
|
+
}
|
62
|
+
a:link, a:visited {
|
63
|
+
background: transparent;
|
64
|
+
text-decoration: none;
|
65
|
+
}
|
66
|
+
#wrap, #content, #footer {
|
67
|
+
float: none !important;
|
68
|
+
color: black;
|
69
|
+
background: transparent;
|
70
|
+
width: auto !important;
|
71
|
+
margin: 0;
|
72
|
+
padding: 0;
|
73
|
+
border: 0;
|
74
|
+
}
|
75
|
+
|
76
|
+
#header {
|
77
|
+
margin-bottom: 5%;
|
78
|
+
font-size: 120%;
|
79
|
+
}
|
80
|
+
#header img { width: 4in; }
|
81
|
+
#header .tagline {
|
82
|
+
float: none !important;
|
83
|
+
position: static !important;
|
84
|
+
font-size: 1.2em;
|
85
|
+
text-align: center;
|
86
|
+
}
|
87
|
+
|
88
|
+
#pages, .noprint { display: none; }
|
89
|
+
|
90
|
+
ol.toc a:link, ol.toc a:visited { text-decoration: none; }
|
91
|
+
ol.toc a:after { content: leader('.') target-counter(attr(href), page); }
|
92
|
+
|
93
|
+
#footer { margin-top: 5%; }
|
94
|
+
|
95
|
+
#license {
|
96
|
+
page-break-before: always;
|
97
|
+
padding-top: 1in;
|
98
|
+
}
|
99
|
+
|
100
|
+
}
|
data/doc/css/syntax.css
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with this
|
3
|
+
* work for additional information regarding copyright ownership. The ASF
|
4
|
+
* licenses this file to you under the Apache License, Version 2.0 (the
|
5
|
+
* "License"); you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
12
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
13
|
+
* License for the specific language governing permissions and limitations
|
14
|
+
* under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
|
18
|
+
.ruby .normal {}
|
19
|
+
.ruby .comment { color: gray; }
|
20
|
+
.ruby .method { color: lightblue; }
|
21
|
+
.ruby .punct { color: darkblue; }
|
22
|
+
.ruby .keyword, .ruby .symbol { color: blue; }
|
23
|
+
.ruby .string, .ruby .regex { color: green; }
|
24
|
+
.ruby .char { }
|
25
|
+
.ruby .ident { color: black; }
|
26
|
+
.ruby .constant, ruby .class, ruby .module { color: darkblue; }
|
27
|
+
.ruby .number { color: blue; }
|
28
|
+
.ruby .attribute { }
|
29
|
+
.ruby .global { }
|
30
|
+
.ruby .expr { }
|
31
|
+
.ruby .escape { }
|
32
|
+
|
33
|
+
.xml .normal {}
|
34
|
+
.xml .namespace { color: darkblue; }
|
35
|
+
.xml .tag { color: blue; }
|
36
|
+
.xml .comment { color: gray; }
|
37
|
+
.xml .punct { color: darkblue; }
|
38
|
+
.xml .string { }
|
39
|
+
.xml .number { }
|
40
|
+
.xml .attribute { color: blue; }
|
41
|
+
|
42
|
+
.yaml .document { }
|
43
|
+
.yaml .type { }
|
44
|
+
.yaml .key { color: blue; }
|
45
|
+
.yaml .comment { color: gray; }
|
46
|
+
.yaml .punct { color: darkblue; }
|
47
|
+
.yaml .string { }
|
48
|
+
.yaml .number { }
|
49
|
+
.yaml .time { }
|
50
|
+
.yaml .date { }
|
51
|
+
.yaml .ref { color: green; }
|
52
|
+
.yaml .anchor { color: green; }
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|