Created
February 9, 2015 21:33
-
-
Save digilord/b51dd627d533fe6b0942 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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