Skip to content

Commit

Permalink
Add coveralls service.
Browse files Browse the repository at this point in the history
  • Loading branch information
ToanAtLZD committed Jun 30, 2016
1 parent 7f17bb2 commit 972c39a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
language: go

before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover

script:
- $HOME/gopath/bin/goveralls -service=travis-ci
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
type appConfig struct {
InputDir string `flag:"input-dir" usage:"Path to directory which contains json file. Default is working directory."`
OutputDir string `flag:"output-dir" usage:"Path to directory to which generated go files will be exported. Same as input directory if omit."`
ShowHelp bool `flag:"help" usage:"Print this message."`
OnTheFly bool `flag:"on-the-fly" usage:"Read JSON string from stdin pipe, this action require --struct-name."`
StructName string `flag:"struct-name" usage:"Name of root struct, this is required for --on-the-fly."`
ShowHelp bool `flag:"help" usage:"Print this message."`
}

var conf appConfig
Expand Down
1 change: 1 addition & 0 deletions parser/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![GoDoc](https://godoc.org/github.com/ngdinhtoan/hari/parser?status.svg)](https://godoc.org/github.com/ngdinhtoan/hari/parser)

0 comments on commit 972c39a

Please sign in to comment.