Skip to content

Instantly share code, notes, and snippets.

@thanpolas
thanpolas / list-mantri.js
Created Feb 18, 2014
List required files by Mantri
View list-mantri.js
var mantri = require('mantri');
var mantriCompile = require('mantri/lib/mantri-build-compile');
mantriCompile.getDepsFiles({
jsRoot: './js',
src: './js/app.js',
gmockDir: mantri.helpers.getPath('closure-mock'),
}, function(status, results) {
console.log('Status should be true:', status);