Skip to content
Browse files

started github integration

  • Loading branch information...
1 parent 3690a87 commit 90118b287699d3b2b2a5bed80ee9c4a6c4f54a20 @msuarz msuarz committed Aug 27, 2012
Showing with 12 additions and 7 deletions.
  1. +7 −0 docs/github/settings.coffee
  2. +1 −1 package.json
  3. +4 −6 src/reports/teamcity.coffee
View
7 docs/github/settings.coffee
@@ -0,0 +1,7 @@
+@settings =
+ docs:
+ source: 'github'
+ repo: 'git://github.com/limadelic/frankendoc.wiki.git'
+ root: 'frankendoc'
+ code:
+ root: 'docs/src'
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "frankendoc",
- "version": "0.2.3",
+ "version": "0.2.5",
"description" : "bringing documents alive",
"repository" : { "type" : "git", "url" : "https://github.com/limadelic/frankendoc.git" },
"keywords" : ["testing", "atdd", "bdd"],
View
10 src/reports/teamcity.coffee
@@ -20,15 +20,13 @@ class @Report
@stats.start()
@report "Started name='#{@name}'"
- finished: (@results) ->
- return unless @results.length
- @[@stats.stop @results]()
+ finished: (@results) -> @[@stats.stop @results]()
passed: -> @report "Finished name='#{@name}' duration='#{@stats.duration}'"
- failed: -> @report "Failed name='#{@name}' message=\"#{@message()}\""
- pending: -> @report "Ignored name='#{@name}' message=\"#{@message()}\""
+ failed: -> @report "Failed name='#{@name}' message='#{@message()}'"
+ pending: -> @report "Ignored name='#{@name}' message='#{@message()}'"
- message: -> @stats.messages().join '\n'
+ message: -> _.escape @stats.messages().join '\n'
stop: ->

0 comments on commit 90118b2

Please sign in to comment.
Something went wrong with that request. Please try again.