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

Commit 3d2b64f

Browse files
Denys Smirnovdennwc
authored andcommitted
update sdk to latest version
Signed-off-by: Denys Smirnov <[email protected]>
1 parent cc2a8cf commit 3d2b64f

File tree

9 files changed

+12
-44
lines changed

9 files changed

+12
-44
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ LABEL maintainer="source{d}" \
5454
WORKDIR /opt/driver
5555

5656
# copy static files from driver source directory
57-
ADD ./native/sh/native.sh ./bin/native
57+
ADD ./native/native.sh ./bin/native
5858

5959

6060
# copy build artifacts for native driver

Dockerfile.build.tpl

Lines changed: 0 additions & 8 deletions
This file was deleted.

Dockerfile.tpl

Lines changed: 0 additions & 23 deletions
This file was deleted.

Gopkg.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# for detailed Gopkg.toml documentation.
33

44
[[constraint]]
5-
version = "v2.0.1"
65
name = "gopkg.in/bblfsh/sdk.v2"
6+
version = "v2.1.x"
77

88
[prune]
99
go-tests = true

Makefile

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# python-driver ![Driver Status](https://img.shields.io/badge/status-beta-dbd25c.svg) [![Build Status](https://travis-ci.org/bblfsh/python-driver.svg?branch=master)](https://travis-ci.org/bblfsh/python-driver) ![Native Version](https://img.shields.io/badge/python%20version-3.6.2-aa93ea.svg) ![Go Version](https://img.shields.io/badge/go%20version-1.9-63afbf.svg)
1+
# Python 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/python-driver.svg?branch=master)](https://travis-ci.org/bblfsh/python-driver) ![Native Version](https://img.shields.io/badge/python%20version-3.6.2-aa93ea.svg) ![Go Version](https://img.shields.io/badge/go%20version-1.9-63afbf.svg)
22

33

44

@@ -8,14 +8,14 @@ Development Environment
88
Requirements:
99
- `docker`
1010
- [`bblfsh-sdk`](https://github.com/bblfsh/sdk) _(go get -u gopkg.in/bblfsh/sdk.v2/...)_
11-
- UAST converter dependencies _(go get -t -v ./...)_
11+
- UAST converter dependencies _(dep ensure --vendor-only)_
1212

13-
To initialize the build system execute: `bblfsh-sdk prepare-build`, at the root of the project. This will install the SDK at `.sdk` for this driver.
13+
To initialize the build system execute: `bblfsh-sdk update`, at the root of the project. This will generate the `Dockerfile` for this driver.
1414

15-
To execute the tests just execute `make test`, this will execute the test over the native and the go components of the driver. Use `make test-native` to run the test only over the native component or `make test-driver` to run the test just over the go component.
15+
To execute the tests just execute `bblfsh-sdk test`, this will execute the test over the native and the go components of the driver using Docker.
1616

17-
The build is done executing `make build`. To evaluate the result using a docker container, execute:
18-
`docker run -it bblfsh/python-driver:dev-<commit[:7]>-dirty`
17+
The build is done executing `bblfsh-sdk build`. To evaluate the result using a docker container, execute:
18+
`bblfsh-sdk build test-driver && docker run -it test-driver`.
1919

2020

2121
License

build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ native:
66
deps:
77
- 'apk add python2'
88
static:
9-
- path: 'sh/native.sh'
9+
- path: 'native.sh'
1010
dest: 'native'
1111
build:
1212
image: 'python:3.6-alpine'
File renamed without changes.

0 commit comments

Comments
 (0)