Skip to content

Commit

Permalink
Fix library definition
Browse files Browse the repository at this point in the history
  • Loading branch information
killy971 committed Jan 26, 2015
1 parent 36e06d7 commit 83ce2f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hpc-coveralls.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ library
HpcCoverallsCmdLine,
Trace.Hpc.Coveralls.Config,
Trace.Hpc.Coveralls.Curl,
Trace.Hpc.Coveralls.GitInfo,
Trace.Hpc.Coveralls.Paths
build-depends:
aeson,
Expand Down
2 changes: 1 addition & 1 deletion src/Trace/Hpc/Coveralls.hs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ toCoverallsJson serviceName jobId repoTokenM gitInfo converter testSuiteCoverage
"source_files" .= toJsonCoverageList testSuiteCoverageData]
toJsonCoverageList = map (uncurry $ coverageToJson converter) . M.toList
withRepoToken = mcons (("repo_token" .=) <$> repoTokenM) base
withGitInfo = ("git" .= gitInfo):withRepoToken
withGitInfo = ("git" .= gitInfo) : withRepoToken

mergeModuleCoverageData :: ModuleCoverageData -> ModuleCoverageData -> ModuleCoverageData
mergeModuleCoverageData (source, mix, tixs1) (_, _, tixs2) =
Expand Down

0 comments on commit 83ce2f3

Please sign in to comment.