1 |
|
2 | (function() {
|
3 | var adapter_path, framework, framework_path, path, pattern;
|
4 |
|
5 | path = require('path');
|
6 |
|
7 | adapter_path = path.join(__dirname, 'adapter.js');
|
8 |
|
9 | framework_path = path.join(__dirname, 'fixture.js');
|
10 |
|
11 | pattern = function(file) {
|
12 | return {
|
13 | pattern: file,
|
14 | included: true,
|
15 | served: true,
|
16 | watched: false
|
17 | };
|
18 | };
|
19 |
|
20 | framework = function(files) {
|
21 | files.unshift(pattern(adapter_path));
|
22 | files.unshift(pattern(framework_path));
|
23 | };
|
24 |
|
25 | framework.$inject = ['config.files'];
|
26 |
|
27 | module.exports = {
|
28 | 'framework:fixture': ['factory', framework]
|
29 | };
|
30 |
|
31 | }).call(this);
|