forked from geddy/model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jakefile
27 lines (23 loc) · 937 Bytes
/
Jakefile
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
var t = new jake.TestTask('Model', function () {
// FIXME: Events fail if run after integration tests
// This line forces them to run first so the tests pass
this.testFiles.include('test/unit/events.js');
this.testFiles.include('test/*.js');
this.testFiles.include('test/**/*.js');
this.testFiles.exclude('test/fixtures/*.js');
this.testFiles.exclude('test/integration/adapters/shared.js');
this.testFiles.exclude('test/integration/adapters/unique_id.js');
this.testFiles.exclude('test/integration/adapters/streaming.js');
this.testFiles.exclude('test/integration/adapters/helpers.js');
this.testFiles.exclude('test/integration/adapters/sql/eager_assn.js');
this.testFiles.exclude('test/config.js');
this.testFiles.exclude('test/db.json');
this.testFiles.exclude('test/db.sample.json');
});
var p = new jake.NpmPublishTask('model', [
'Jakefile'
, 'README.md'
, 'package.json'
, 'lib/**'
, 'test/**'
]);