-
Notifications
You must be signed in to change notification settings - Fork 68
/
package.js
38 lines (34 loc) · 1.57 KB
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/***************************************************************************
### Copyright (C) 2014-2017 by Vaughn Iverson
### job-collection is free software released under the MIT/X11 license.
### See included LICENSE file for details.
***************************************************************************/
var currentVersion = '1.5.2';
Package.describe({
summary: "A persistent and reactive job queue for Meteor, supporting distributed workers that can run anywhere",
name: 'vsivsi:job-collection',
version: currentVersion,
git: 'https://github.com/vsivsi/meteor-job-collection.git'
});
Package.onUse(function(api) {
api.use('mrt:[email protected]', ['server','client']);
api.use('[email protected]_1', ['server','client']);
api.use('[email protected]', ['server','client']);
api.use('[email protected]', ['server','client']);
api.addFiles('job/src/job_class.coffee', ['server','client']);
api.addFiles('src/shared.coffee', ['server','client']);
api.addFiles('src/server.coffee', 'server');
api.addFiles('src/client.coffee', 'client');
api.export('Job');
api.export('JobCollection');
});
Package.onTest(function (api) {
api.use('vsivsi:job-collection@' + currentVersion, ['server','client']);
api.use('mrt:[email protected]', ['server','client']);
api.use('[email protected]_1', ['server','client']);
api.use('[email protected]', ['server','client']);
api.use('[email protected]', ['server','client']);
api.use('[email protected]', ['server','client']);
api.use('[email protected]', 'client');
api.addFiles('test/job_collection_tests.coffee', ['server', 'client']);
});