Skip to content

Commit

Permalink
[wip] added backend contribution
Browse files Browse the repository at this point in the history
rebase on Oct 26
Adjust the version
Adjust the consecutive blank lines

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Signed-off-by: Jacques Bouthillier <jacques.bouthillier@ericsson.com>
  • Loading branch information
lmcbout committed Oct 26, 2017
1 parent 38dceac commit fad718f
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dev-packages/ext-scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ For instance, if you want add a new `hello` script that prints `Hello World`:
{
"name": "@theia/myextension",
"devDependencies": {
"@theia/ext-scripts": "^0.1.1"
"@theia/ext-scripts": "^0.2.0"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions packages/output-parser/compile.tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../base.tsconfig",
"extends": "../../configs/base.tsconfig",
"compilerOptions": {
"rootDir": "src",
"outDir": "lib"
},
"include": [
"src"
]
}
}
8 changes: 5 additions & 3 deletions packages/output-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"access": "public"
},
"theiaExtensions": [
{}
{
"backend": "lib/node/output-parser-backend-module"
}
],
"keywords": [
"theia-extension"
Expand All @@ -38,9 +40,9 @@
"docs": "theiaext docs"
},
"devDependencies": {
"@theia/ext-scripts": "^0.1.1"
"@theia/ext-scripts": "^0.2.0"
},
"nyc": {
"extends": "../nyc.json"
"extends": "../../configs/nyc.json"
}
}
13 changes: 13 additions & 0 deletions packages/output-parser/src/node/output-parser-backend-module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* Copyright (C) 2017 Ericsson and others.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/

import { ContainerModule } from 'inversify';
import { IOutputParser, OutputParser } from './output-parser';

export default new ContainerModule(bind => {
bind(IOutputParser).to(OutputParser);
});
2 changes: 0 additions & 2 deletions packages/output-parser/src/node/output-parser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const gccLinkerErrorMatcher: IMatcher = {
"pattern": gccLinkerErrorPattern
};


describe("output-parser", () => {
let parser: IOutputParser;
beforeEach(function () {
Expand Down Expand Up @@ -302,4 +301,3 @@ describe("output-parser", () => {
});

});

1 change: 0 additions & 1 deletion packages/output-parser/src/node/output-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export interface IPattern {
"message": number
}


/**
* Class to parse build logs, to find instances of errors and warnings.
*/
Expand Down

0 comments on commit fad718f

Please sign in to comment.