Skip to content

Commit a06bd51

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

14 files changed

+169
-154166
lines changed

Dockerfile

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

6060
# copy static files from driver source directory
61-
ADD ./native/src/main/sh/native.sh ./bin/native
61+
ADD ./native/native.sh ./bin/native
6262

6363

6464
# copy build artifacts for native driver

Dockerfile.build.tpl

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

Dockerfile.tpl

Lines changed: 0 additions & 9 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-
branch = "v2"
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-
# bash-driver ![Driver Status](https://img.shields.io/badge/status-beta-dbd25c.svg) [![Build Status](https://travis-ci.org/bblfsh/bash-driver.svg?branch=master)](https://travis-ci.org/bblfsh/bash-driver) ![Native Version](https://img.shields.io/badge/bash%20version-8.131.11--r2-aa93ea.svg) ![Go Version](https://img.shields.io/badge/go%20version-1.9-63afbf.svg)
1+
# Bash 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/bash-driver.svg?branch=master)](https://travis-ci.org/bblfsh/bash-driver) ![Native Version](https://img.shields.io/badge/bash%20version-8.131.11--r2-aa93ea.svg) ![Go Version](https://img.shields.io/badge/go%20version-1.9-63afbf.svg)
22

33
bash driver for [babelfish](https://github.com/bblfsh/bblfshd).
44

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

14-
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.
14+
To initialize the build system execute: `bblfsh-sdk update`, at the root of the project. This will generate the `Dockerfile` for this driver.
1515

16-
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.
16+
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.
1717

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

2121

2222
License

build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go-runtime:
55
native:
66
image: 'openjdk:8-jre-alpine'
77
static:
8-
- path: src/main/sh/native.sh
8+
- path: native.sh
99
dest: native
1010
build:
1111
image: 'openjdk:8-slim'

0 commit comments

Comments
 (0)