Skip to content

Commit

Permalink
2.0.0-beta Prepare 2.0.0 beta release
Browse files Browse the repository at this point in the history
2.0.0-beta improve ci node support

2.0.0-beta Run tslint in CI for log

2.0.0-beta Repair build exit and limit node versions

2.0.0-beta Repair ci

2.0.0-beta Update README.md
  • Loading branch information
adamfitz77hob committed Sep 5, 2015
1 parent 420f470 commit b730a6f
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
script:
./build.sh
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tslint-stylish
===================

![Build Status](https://travis-ci.org/adamfitzpatrick/tslint-stylish.svg?branch=develop)
![Build Status](https://travis-ci.org/adamfitzpatrick/tslint-stylish.svg?branch=master)

Typescript lint reporter for tslint and gulp-tslint along the lines of jshint-stylish. Support
for grunt will be added soon. Note that this package will eventually replace gulp-tslint-stylish.
Expand Down
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@

npm install
gulp prod

EXITSTATUS=$?

npm install tslint -g
tslint specs/fixtures/TestSrc.ts -s . -t stylish

exit $EXITSTATUS
3 changes: 2 additions & 1 deletion specs/stylishFormatter.spec.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/// <reference path="../typings/node.d.ts" />
/// <reference path="../typings/mocha.d.ts" />

var Formatter = require(process.cwd() + "/compiled/src/stylishFormatter");
var assert = require("assert");
var fs = require("fs");

import StylishFormatter = require("../src/stylishFormatter");
import support = require("./support");

var Formatter = StylishFormatter.Formatter;
var TestConstants = support.TestConstants;

class StylishFormatterSpecs {
Expand Down
4 changes: 1 addition & 3 deletions src/stylishFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var _ = require("lodash");

import Reporter = require("./reporter");

class Formatter {
export class Formatter {

private files: { [name: string]: Stylish.IPalantirRuleFailureObject[] } = {};

Expand All @@ -25,5 +25,3 @@ class Formatter {
});
}
}

export = Formatter;
2 changes: 1 addition & 1 deletion stylishFormatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ var Formatter = (function () {
};
return Formatter;
})();
module.exports = Formatter;
exports.Formatter = Formatter;

0 comments on commit b730a6f

Please sign in to comment.