Merge pull request #36 from mcarmonaa/improvement-renamepackage

renamed package and cli to enry
This commit is contained in:
Santiago M. Mola 2017-06-13 14:49:02 +02:00 committed by GitHub
commit 7b6869e2a2
36 changed files with 39 additions and 39 deletions

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
import (
"math"

View File

@ -44,8 +44,8 @@ func main() {
relativePath = relativePath + "/"
}
if slinguist.IsVendor(relativePath) || slinguist.IsDotFile(relativePath) ||
slinguist.IsDocumentation(relativePath) || slinguist.IsConfiguration(relativePath) {
if enry.IsVendor(relativePath) || enry.IsDotFile(relativePath) ||
enry.IsDocumentation(relativePath) || enry.IsConfiguration(relativePath) {
if f.IsDir() {
return filepath.SkipDir
}
@ -64,8 +64,8 @@ func main() {
return nil
}
language := slinguist.GetLanguage(filepath.Base(path), content)
if language == slinguist.OtherLanguage {
language := enry.GetLanguage(filepath.Base(path), content)
if language == enry.OtherLanguage {
return nil
}

View File

@ -1,4 +1,4 @@
package slinguist
package enry
import (
"math"

View File

@ -1,4 +1,4 @@
package slinguist
package enry
import (
"fmt"

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,3 +1,3 @@
package slinguist
package enry
//go:generate make code-generate

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
import (
"bytes"

View File

@ -1,4 +1,4 @@
package slinguist
package enry
import (
"bufio"

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND

View File

@ -1,4 +1,4 @@
package slinguist
package enry
import (
"bytes"

View File

@ -1,4 +1,4 @@
package slinguist
package enry
import (
"bytes"

View File

@ -1,4 +1,4 @@
package slinguist
package enry
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND