Skip to content

Commit 9f42484

Browse files
Denys Smirnovdennwc
authored andcommitted
update sdk and enable language aliases
Signed-off-by: Denys Smirnov <[email protected]>
1 parent a603a77 commit 9f42484

File tree

6 files changed

+127
-45
lines changed

6 files changed

+127
-45
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ RUN dotnet publish -c Release -o out
2525
# Stage 1.1: Native Driver Tests
2626
#================================
2727
FROM native as native_test
28+
2829
# run native driver tests
2930

3031

3132
#=================================
3233
# Stage 2: Go Driver Server Build
3334
#=================================
34-
FROM golang:1.10 as driver
35+
FROM golang:1.12 as driver
3536

3637
ENV DRIVER_REPO=github.com/bblfsh/csharp-driver
3738
ENV DRIVER_REPO_PATH=/go/src/$DRIVER_REPO
@@ -44,6 +45,9 @@ WORKDIR $DRIVER_REPO_PATH/
4445

4546
ENV GO111MODULE=on GOFLAGS=-mod=vendor
4647

48+
# workaround for https://github.com/golang/go/issues/28065
49+
ENV CGO_ENABLED=0
50+
4751
# build server binary
4852
RUN go build -o /tmp/driver ./driver/main.go
4953
# build tests

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# C# driver for [Babelfish](https://github.com/bblfsh/bblfshd) ![Driver Status](https://img.shields.io/badge/status-beta-dbd25c.svg) [![Build Status](https://travis-ci.org/bblfsh/csharp-driver.svg?branch=master)](https://travis-ci.org/bblfsh/csharp-driver) ![Native Version](https://img.shields.io/badge/csharp%20version--aa93ea.svg) ![Go Version](https://img.shields.io/badge/go%20version-1.12-63afbf.svg)
2-
3-
1+
# C# driver for [Babelfish](https://github.com/bblfsh/bblfshd) ![Driver Status](https://img.shields.io/badge/status-beta-dbd25c.svg) [![Build Status](https://travis-ci.org/bblfsh/csharp-driver.svg?branch=master)](https://travis-ci.org/bblfsh/csharp-driver) ![Native Version](https://img.shields.io/badge/csharp%20version-2.1-aa93ea.svg) ![Go Version](https://img.shields.io/badge/go%20version-1.12-63afbf.svg)
42

53
Development Environment
64
-----------------------

build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sdk: '2'
22
go-runtime:
3-
version: '1.10'
3+
version: '1.12'
44
native:
55
image: 'microsoft/dotnet:2.1-runtime'
66
static:

go.mod

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,31 @@ go 1.12
44

55
require (
66
github.com/Microsoft/go-winio v0.4.12 // indirect
7-
github.com/bblfsh/sdk/v3 v3.0.0
8-
github.com/containerd/continuity v0.0.0-20181203112020-004b46473808 // indirect
9-
github.com/gogo/protobuf v1.1.1 // indirect
7+
github.com/bblfsh/sdk/v3 v3.1.0
8+
github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc // indirect
9+
github.com/docker/go-connections v0.4.0 // indirect
10+
github.com/docker/go-units v0.4.0 // indirect
11+
github.com/gogo/protobuf v1.2.1 // indirect
12+
github.com/google/go-cmp v0.3.0 // indirect
13+
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
14+
github.com/mattn/go-colorable v0.1.2 // indirect
1015
github.com/opencontainers/runc v1.0.0-rc7 // indirect
11-
github.com/sirupsen/logrus v1.0.6 // indirect
12-
golang.org/x/crypto v0.0.0-20180808211826-de0752318171 // indirect
13-
google.golang.org/genproto v0.0.0-20180808183934-383e8b2c3b9e // indirect
14-
google.golang.org/grpc v1.14.0 // indirect
16+
github.com/opentracing/opentracing-go v1.1.0 // indirect
17+
github.com/ory/dockertest v3.3.4+incompatible // indirect
18+
github.com/pkg/errors v0.8.1 // indirect
19+
github.com/sirupsen/logrus v1.4.2 // indirect
20+
github.com/stretchr/testify v1.3.0 // indirect
21+
github.com/uber-go/atomic v1.4.0 // indirect
22+
github.com/uber/jaeger-client-go v2.16.0+incompatible // indirect
23+
github.com/uber/jaeger-lib v2.0.0+incompatible // indirect
24+
go.uber.org/atomic v1.4.0 // indirect
25+
golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f // indirect
26+
golang.org/x/net v0.0.0-20190522155817-f3200d17e092 // indirect
27+
golang.org/x/sys v0.0.0-20190524152521-dbbf3f1254d4 // indirect
28+
golang.org/x/text v0.3.2 // indirect
29+
google.golang.org/appengine v1.4.0 // indirect
30+
google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69 // indirect
31+
google.golang.org/grpc v1.21.0 // indirect
32+
gopkg.in/bblfsh/sdk.v1 v1.17.0 // indirect
33+
gopkg.in/yaml.v2 v2.2.2 // indirect
1534
)

0 commit comments

Comments
 (0)