# HG changeset patch # User Mikael Berthe # Date 1523134191 -7200 # Node ID eac7d78ff641616d95fff54bd57db0eafdbbd901 # Parent f67da1c20c86c3f781df214e31a0c13f5426f1b3 Update gotak import path to fix Travis build Update import path in the gotak subdir so that Travis tests can be played against the Github repository. Also, add missing dependencies to the Travis YAML file. diff -r f67da1c20c86 -r eac7d78ff641 .travis.yml --- a/.travis.yml Sat Apr 07 22:32:47 2018 +0200 +++ b/.travis.yml Sat Apr 07 22:49:51 2018 +0200 @@ -14,3 +14,5 @@ - master install: - go get github.com/spf13/pflag +- go get github.com/pkg/errors +- go get github.com/jung-kurt/gofpdf diff -r f67da1c20c86 -r eac7d78ff641 README.md --- a/README.md Sat Apr 07 22:32:47 2018 +0200 +++ b/README.md Sat Apr 07 22:49:51 2018 +0200 @@ -12,7 +12,7 @@ - Mercurial repository: https://hg.lilotux.net/golang/mikael/takuzu/ - Github mirror: https://github.com/McKael/takuzu/ -Please read the [godoc documentation]](https://godoc.org/github.com/McKael/takuzu) for details. +Please read the [godoc documentation](https://godoc.org/github.com/McKael/takuzu) for details. # CLI demo @@ -23,10 +23,10 @@ To build the gotak CLI utility, you can use ``` -go get https://hg.lilotux.net/golang/mikael/takuzu/gotak +go get github.com/takuzu/gotak ``` -(If you use the Github mirror, you'll have to update the import path manually.) +(If you use the Mercurial repository, you have to update the import path manually.) # Online puzzle demo diff -r f67da1c20c86 -r eac7d78ff641 gotak/gotak.go --- a/gotak/gotak.go Sat Apr 07 22:32:47 2018 +0200 +++ b/gotak/gotak.go Sat Apr 07 22:49:51 2018 +0200 @@ -14,7 +14,7 @@ "github.com/spf13/pflag" - "hg.lilotux.net/golang/mikael/takuzu" + "github.com/McKael/takuzu" ) var verbosity int diff -r f67da1c20c86 -r eac7d78ff641 gotak/pdf.go --- a/gotak/pdf.go Sat Apr 07 22:32:47 2018 +0200 +++ b/gotak/pdf.go Sat Apr 07 22:49:51 2018 +0200 @@ -10,7 +10,7 @@ "github.com/jung-kurt/gofpdf" "github.com/pkg/errors" - "hg.lilotux.net/golang/mikael/takuzu" + "github.com/McKael/takuzu" ) func tak2pdf(takuzu *takuzu.Takuzu, pdfFileName string) error {