@cryptotaxi247 / infra-1 / commits / 91fe9463

Added jobs for the API documentation releases

svn path=/configurations/trunk/tud/; revision=11475

Martin Bravenboer committed Apr 6, 2008 at 21:11 UTC 91fe9463aafb118f5b61368ebcb781d127d847b4
2 files changed +104 -6
supervisor/strategoxt/jobs-helpers.nix
+19 -4
@@ -111,16 +111,31 @@ rec {
111 "http://buildfarm.st.ewi.tudelft.nl/releases/nix-cache"
112 ];
113
114 - makeAPIJob = {jobAttr, subdir, svn} :
114 + /**
115 + * Jobs for documentation
116 + */
117 + makeAPIJob = {jobAttr, subdir, svn, extraInputs ? {}} :
118 + makeDocsJob {
119 + subdir = "api/" + subdir;
120 + inherit jobAttr svn extraInputs;
121 + };
122 +
123 + makeSyntaxJob = {jobAttr, subdir, svn, extraInputs ? {}} :
124 + makeDocsJob {
125 + subdir = "syntax/" + subdir;
126 + inherit jobAttr svn extraInputs;
127 + };
128 +
129 + makeDocsJob = {jobAttr, subdir, svn, extraInputs} :
130 makeJob {
131 args =
132 strategoxtArgs {
133 jobFile = "strategoxt/custom/docs.nix";
134 inherit jobAttr;
120 - subdir = "docs/api/" + subdir;
135 + subdir = "docs/" + subdir;
136 };
137
123 - inputs = {
138 + inputs = ({
139 checkout = svnInput svn;
140 systems = pathInput ./systems.nix;
141 atermInfo = makeInfoURL.usingBaseline specs.aterm;
@@ -128,7 +143,7 @@ rec {
143 strategoxtInfo = makeInfoURL.usingBaseline specs.strategoxt;
144 strategoxtUtilsInfo = makeInfoURL.usingBaseline specs.strategoxtUtils;
145 xdocInfo = makeInfoURL.usingBaseline specs.xdoc;
131 - };
146 + } // extraInputs);
147
148 notifyAddresses = ["karltk@strategoxt.org" "martin.bravenboer@gmail.com" "e.visser@tudelft.nl"];
149 };
supervisor/strategoxt/jobs.nix
+85 -2
@@ -15,6 +15,16 @@ with (import ./jobs-helpers.nix) attrs;
15 makeInfoURL = makeInfoURL.usingBaseline;
16 };
17
18 + aspectjFrontSyntaxTrunk = makeEasyJob {
19 + spec = specs.aspectjFrontSyntax;
20 + makeInfoURL = makeInfoURL.usingBaseline;
21 + };
22 +
23 + aspectjFrontTrunk = makeEasyJob {
24 + spec = specs.aspectjFront;
25 + makeInfoURL = makeInfoURL.usingBaseline;
26 + };
27 +
28 jimpleFrontTrunk = makeEasyJob {
29 spec = specs.jimpleFront;
30 makeInfoURL = makeInfoURL.usingBaseline;
@@ -168,11 +178,84 @@ with (import ./jobs-helpers.nix) attrs;
178 * API documentation
179 */
180 strategoLibDocsTrunk = makeAPIJob {
171 - subdir = "stratego-lib";
172 - jobAttr = "strategoLibDocsRelease";
181 + subdir = "libstratego-lib";
182 + jobAttr = "strategoLib";
183 svn = https://svn.cs.uu.nl:12443/repos/StrategoXT/strategoxt/trunk/stratego-libraries/lib/spec;
184 };
185
186 + strategoXTCDocsTrunk = makeAPIJob {
187 + subdir = "libstratego-xtc";
188 + jobAttr = "xtc";
189 + svn = https://svn.cs.uu.nl:12443/repos/StrategoXT/strategoxt/trunk/stratego-libraries/xtc/lib;
190 + };
191 +
192 + strategoSGLRDocsTrunk = makeAPIJob {
193 + subdir = "libstratego-sglr";
194 + jobAttr = "sglr";
195 + svn = https://svn.cs.uu.nl:12443/repos/StrategoXT/strategoxt/trunk/stratego-libraries/sglr/lib;
196 + };
197 +
198 + strategoGPPDocsTrunk = makeAPIJob {
199 + subdir = "libstratego-gpp";
200 + jobAttr = "gpp";
201 + svn = https://svn.cs.uu.nl:12443/repos/StrategoXT/strategoxt/trunk/stratego-libraries/gpp/lib;
202 + };
203 +
204 + strategoRTGDocsTrunk = makeAPIJob {
205 + subdir = "libstratego-rtg";
206 + jobAttr = "rtg";
207 + svn = https://svn.cs.uu.nl:12443/repos/StrategoXT/strategoxt/trunk/stratego-libraries/rtg/lib;
208 + };
209 +
210 + sdfLibrarySyntaxDocsTrunk = makeSyntaxJob {
211 + subdir = "sdf-library";
212 + jobAttr = "sdfLibrarySyntax";
213 + svn =svn+ssh://svn.cwi.nl/sdf-library/trunk/library ;
214 + };
215 +
216 + javaFrontSyntaxDocsTrunk = makeSyntaxJob {
217 + subdir = "java-front";
218 + jobAttr = "javaFrontSyntax";
219 + svn = https://svn.cs.uu.nl:12443/repos/StrategoXT/java-front/trunk/syntax/src;
220 + };
221 +
222 + jimpleFrontSyntaxDocsTrunk = makeSyntaxJob {
223 + subdir = "jimple-front";
224 + jobAttr = "jimpleFrontSyntax";
225 + svn = https://svn.cs.uu.nl:12443/repos/StrategoXT/sootxt/jimple-front/trunk/syn;
226 + };
227 +
228 + aspectjFrontSyntaxDocsTrunk = makeSyntaxJob {
229 + subdir = "aspectj-front";
230 + jobAttr = "aspectjFrontSyntax";
231 + svn = https://svn.cs.uu.nl:12443/repos/StrategoXT/aspectj-front/trunk/syntax/src;
232 + extraInputs = {
233 + javaFrontInfo = makeInfoURL.unstable specs.javaFront;
234 + aspectjFrontInfo = makeInfoURL.unstable specs.aspectjFront;
235 + };
236 + };
237 +
238 + dryadDocsTrunk = makeAPIJob {
239 + subdir = "libdryad";
240 + jobAttr = "dryadLibrary";
241 + svn = https://svn.cs.uu.nl:12443/repos/StrategoXT/dryad/trunk/lib;
242 + extraInputs = {
243 + javaFrontInfo = makeInfoURL.unstable specs.javaFront;
244 + };
245 + };
246 +
247 + phpFrontSyntaxDocsTrunk = makeSyntaxJob {
248 + subdir = "php-front";
249 + jobAttr = "phpFrontSyntax";
250 + svn = https://svn.cs.uu.nl:12443/repos/psat/php-front/trunk/src/grammar;
251 + };
252 +
253 + phpFrontLibraryDocsTrunk = makeAPIJob {
254 + subdir = "libphp-front";
255 + jobAttr = "phpFrontLibrary";
256 + svn = https://svn.cs.uu.nl:12443/repos/psat/php-front/trunk/src/lib;
257 + };
258 +
259 /**
260 * Complicated jobs
261 */