mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-11 12:35:08 +00:00
20 lines
394 B
JavaScript
20 lines
394 B
JavaScript
'use strict';
|
|
|
|
var _ = require('underscore'),
|
|
project = require('../lib/project');
|
|
|
|
var projects;
|
|
project.loadAll('projects', function(err, loadedProjects) {
|
|
if (err) throw err;
|
|
projects = loadedProjects;
|
|
console.log('Loaded projects: ', _(projects).map(function(project) {
|
|
return project.config.name;
|
|
}));
|
|
});
|
|
|
|
module.exports = function(data) {
|
|
var projects = [{
|
|
name: 'foo'
|
|
}];
|
|
};
|