-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGruntRunner.tmpl
72 lines (63 loc) · 3.02 KB
/
GruntRunner.tmpl
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Jasmine Spec Runner</title>
<% with (scripts) { %>
<% [].concat(polyfills, jasmine, vendor, helpers).forEach(function(script){ %>
<script src="<%= script %>"></script>
<% }) %>
<% }; %>
<!-- dependencies -->
<script type="text/javascript" src="libraries/sage/sage.js"></script>
<script type="text/javascript" src="libraries/sage/class.js"></script>
<script type="text/javascript" src="libraries/sage/event.js"></script>
<script type="text/javascript" src="libraries/sage/evented.js"></script>
<script type="text/javascript" src="libraries/sage/deferred.js"></script>
<script type="text/javascript" src="libraries/Base64.js"></script>
<script type="text/javascript" src="libraries/ObjTree.js"></script>
<script type="text/javascript" src="libraries/parseuri.js"></script>
<!-- client -->
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataXmlToJson.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataAjax.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataUri.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataBaseRequest.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataApplicationRequest.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataSingleResourceRequest.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataSystemRequest.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataTemplateResourceRequest.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataResourceCollectionRequest.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataNamedQueryRequest.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataResourcePropertyRequest.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataServiceOperationRequest.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataBatchRequest.js"></script>
<script type="text/javascript" src=".grunt/grunt-contrib-jasmine/src/SDataService.js"></script>
<!-- Dojo -->
<script type="text/javascript" src="libraries/dojo/dojo/dojo.js" data-dojo-config="parseOnLoad:false, async:false"></script>
<script type="text/javascript">
require({
baseUrl: "./",
packages: [
{ name: 'dojo', location: 'libraries/dojo/dojo' },
{ name: 'spec', location: 'tests' }
]
});
</script>
<% css.forEach(function(style){ %>
<link rel="stylesheet" type="text/css" href="<%= style %>">
<% }); %>
</head>
<body>
<script type="text/javascript">
<% with (scripts) { %>
require([
'spec/all',
'<%= boot %>',
'<%= reporters[0] %>',
'<%= reporters[1] %>'
], function() {
});
<% }; %>
</script>
</body>
</html>