Skip to content

Commit 76ca606

Browse files
author
Dimitar Kerezov
committed
Exclude common's messaging classes from compilation
1 parent cdce7a1 commit 76ca606

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Gruntfile.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ 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,
@@ -61,7 +61,7 @@ module.exports = function(grunt) {
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")
@@ -71,7 +71,7 @@ module.exports = function(grunt) {
7171

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'

0 commit comments

Comments
 (0)