Skip to content

Instantly share code, notes, and snippets.

@digilord
Created February 9, 2015 21:33
Show Gist options
  • Save digilord/b51dd627d533fe6b0942 to your computer and use it in GitHub Desktop.
Save digilord/b51dd627d533fe6b0942 to your computer and use it in GitHub Desktop.
var createThreeAmigos = function(dir, baseName) {
var _array = [];
var _extensions = ['html', 'less', 'coffee'];
for (i = 0; i < _extensions.length; i++) {
var _file = dir + '/' + baseName + '.' + _extensions[i];
_array.push(_file);
}
return _array;
};
var accounts = createThreeAmigos('client', 'account');
var list = createThreeAmigos('client', 'list');
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.use(['[email protected]', '[email protected]', 'cfs:[email protected]', 'cfs:[email protected]', 'cfs:[email protected]', 'cfs:[email protected]']);
api.use(['[email protected]'], ['client', 'server']);
api.use(['iron:[email protected]'], ['client', 'server']);
api.use(['mrt:[email protected]'], ['client', 'server']);
api.use(['alanning:[email protected]'], ['client', 'server']);
api.use(['fortawesome:[email protected]_2'], ['client']);
api.use(['coffeescript'], ['client', 'server']);
api.use(['digilord:[email protected]'], ['client', 'server']);
api.use(['digilord:[email protected]'], ['client', 'server']);
api.use(['digilord:[email protected]'], ['client', 'server']);
api.use(['digilord:[email protected]'], ['server']);
api.use(['tmeasday:[email protected]'],['client','server']);
api.use(['accounts-base', 'accounts-password', 'copleykj:[email protected]'], ['client', 'server']);
api.use(['session'],['client']);
api.addFiles(list, 'client');
api.addFiles(accounts, 'client');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment