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

Commit

Permalink
Merge pull request #86 from juanjux/feature/gopkg_sdk
Browse files Browse the repository at this point in the history
Versioned sdk imports
  • Loading branch information
juanjux authored Sep 6, 2017
2 parents f1203be + 2aea703 commit 3193158
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- docker

before_script:
- go get -v github.com/bblfsh/sdk/...
- go get -v gopkg.in/bblfsh/sdk.v0/...
- bblfsh-sdk prepare-build .
- go get -v -t ./...

Expand Down
2 changes: 1 addition & 1 deletion driver/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/bblfsh/sdk/protocol/driver"
"gopkg.in/bblfsh/sdk.v0/protocol/driver"

"github.com/bblfsh/python-driver/driver/normalizer"
)
Expand Down
4 changes: 2 additions & 2 deletions driver/normalizer/annotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/bblfsh/python-driver/driver/normalizer/pyast"

. "github.com/bblfsh/sdk/uast"
. "github.com/bblfsh/sdk/uast/ann"
. "gopkg.in/bblfsh/sdk.v0/uast"
. "gopkg.in/bblfsh/sdk.v0/uast/ann"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion driver/normalizer/annotation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"path/filepath"
"testing"

"github.com/bblfsh/sdk/uast"
"github.com/stretchr/testify/require"
"gopkg.in/bblfsh/sdk.v0/uast"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions driver/normalizer/parser.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package normalizer

import (
"github.com/bblfsh/sdk/protocol/driver"
"github.com/bblfsh/sdk/protocol/native"
"gopkg.in/bblfsh/sdk.v0/protocol/driver"
"gopkg.in/bblfsh/sdk.v0/protocol/native"
)

var ToNoder = &native.ObjectToNoder{
Expand Down

0 comments on commit 3193158

Please sign in to comment.