Skip to content

Commit b5802cd

Browse files
author
Dimitar Kerezov
committed
Exclude common's messaging classes from compilation
1 parent 513bef5 commit b5802cd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Gruntfile.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -39,39 +39,39 @@ module.exports = function(grunt) {
3939
},
4040

4141
devlib: {
42-
src: ["lib/**/*.ts", "!lib/common/node_modules/**/*.ts"],
42+
src: ["lib/**/*.ts", "!lib/common/node_modules/**/*.ts", "!lib/common/messages/**/*.ts"],
4343
reference: "lib/.d.ts"
4444
},
4545

4646
devall: {
47-
src: ["lib/**/*.ts", "test/**/*.ts", "!lib/common/node_modules/**/*.ts", "lib/common/test/unit-tests/**/*.ts", "definitions/**/*.ts", "!lib/common/test/.d.ts"],
47+
src: ["lib/**/*.ts", "test/**/*.ts", "!lib/common/node_modules/**/*.ts", "!lib/common/messages/**/*.ts", "lib/common/test/unit-tests/**/*.ts", "definitions/**/*.ts", "!lib/common/test/.d.ts"],
4848
reference: "lib/.d.ts"
4949
},
5050

5151
release_build: {
52-
src: ["lib/**/*.ts", "test/**/*.ts", "!lib/common/node_modules/**/*.ts"],
52+
src: ["lib/**/*.ts", "test/**/*.ts", "!lib/common/node_modules/**/*.ts", "!lib/common/messages/**/*.ts"],
5353
reference: "lib/.d.ts",
5454
options: {
5555
sourceMap: false,
5656
removeComments: true
5757
}
5858
},
5959
},
60-
60+
6161
tslint: {
6262
build: {
6363
files: {
64-
src: ["lib/**/*.ts", "test/**/*.ts", "!lib/common/node_modules/**/*.ts", "lib/common/test/unit-tests/**/*.ts", "definitions/**/*.ts", "!**/*.d.ts"]
64+
src: ["lib/**/*.ts", "test/**/*.ts", "!lib/common/node_modules/**/*.ts", "!lib/common/messages/**/*.ts", "lib/common/test/unit-tests/**/*.ts", "definitions/**/*.ts", "!**/*.d.ts"]
6565
},
6666
options: {
6767
configuration: grunt.file.readJSON("./tslint.json")
6868
}
6969
}
7070
},
71-
71+
7272
watch: {
7373
devall: {
74-
files: ["lib/**/*.ts", 'test/**/*.ts', "!lib/common/node_modules/**/*.ts"],
74+
files: ["lib/**/*.ts", 'test/**/*.ts', "!lib/common/node_modules/**/*.ts", "!lib/common/messages/**/*.ts"],
7575
tasks: [
7676
'ts:devall',
7777
'shell:npm_test'
@@ -106,7 +106,7 @@ module.exports = function(grunt) {
106106
npm_test: {
107107
command: "npm test"
108108
}
109-
109+
110110
},
111111

112112
copy: {

0 commit comments

Comments
 (0)