Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 88c4dd3

Browse files
authored
Merge pull request #46 from abeaumont/feature/add-versioning
Add SDK versioning support
2 parents bf5fe22 + 608974b commit 88c4dd3

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
- docker
88

99
before_script:
10-
- go get -v github.com/bblfsh/sdk/...
10+
- go get -v gopkg.in/bblfsh/sdk.v0/...
1111
- bblfsh-sdk prepare-build .
1212
- go get -v -t ./...
1313

driver/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/bblfsh/sdk/protocol/driver"
4+
"gopkg.in/bblfsh/sdk.v0/protocol/driver"
55

66
"github.com/bblfsh/java-driver/driver/normalizer"
77
)

driver/normalizer/annotation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package normalizer
33
import (
44
"github.com/bblfsh/java-driver/driver/normalizer/jdt"
55

6-
. "github.com/bblfsh/sdk/uast"
7-
. "github.com/bblfsh/sdk/uast/ann"
6+
. "gopkg.in/bblfsh/sdk.v0/uast"
7+
. "gopkg.in/bblfsh/sdk.v0/uast/ann"
88
)
99

1010
var AnnotationRules = On(jdt.CompilationUnit).Roles(File).Descendants(

driver/normalizer/annotation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"path/filepath"
99
"testing"
1010

11-
"github.com/bblfsh/sdk/uast"
11+
"gopkg.in/bblfsh/sdk.v0/uast"
1212
"github.com/stretchr/testify/require"
1313
)
1414

driver/normalizer/jdt/jdt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package jdt
44
// GENERATED BY java-driver GoGen
55
// DO NOT EDIT
66

7-
import "github.com/bblfsh/sdk/uast/ann"
7+
import "gopkg.in/bblfsh/sdk.v0/uast/ann"
88

99
// Eclipse JDT node types.
1010
// This includes all non-abstract classes extending from ASTNode.

driver/normalizer/parser.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package normalizer
22

33
import (
4-
"github.com/bblfsh/sdk/protocol/driver"
5-
"github.com/bblfsh/sdk/protocol/native"
4+
"gopkg.in/bblfsh/sdk.v0/protocol/driver"
5+
"gopkg.in/bblfsh/sdk.v0/protocol/native"
66
)
77

88
var ToNoder = &native.ObjectToNoder{

native/src/test/java/bblfsh/GoGen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void generate() {
4747
+ "// GENERATED BY java-driver GoGen\n"
4848
+ "// DO NOT EDIT\n"
4949
+ "\n"
50-
+ "import \"github.com/bblfsh/sdk/uast/ann\"\n\n"
50+
+ "import \"gopkg.in/bblfsh/sdk.v0/uast/ann\"\n\n"
5151
);
5252
out.print(""
5353
+ "// Eclipse JDT node types.\n"

0 commit comments

Comments
 (0)