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

Commit 0bc8694

Browse files
authored
Merge pull request #134 from juanjux/fix/build
Update to latest SDK, build fixes
2 parents 30d79c5 + 972a0b0 commit 0bc8694

File tree

6 files changed

+4
-8
lines changed

6 files changed

+4
-8
lines changed

.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-
- CGO_ENABLED=0 go get -v gopkg.in/bblfsh/sdk.v1/...
10+
- go get -v gopkg.in/bblfsh/sdk.v1/...
1111
- bblfsh-sdk prepare-build .
1212
- go get -v -t ./...
1313

Dockerfile.build.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ FROM alpine:3.6
33
RUN mkdir -p /opt/driver/src && \
44
adduser $BUILD_USER -u $BUILD_UID -D -h /opt/driver/src
55

6-
RUN apk add --no-cache --update python python-dev python3 python3-dev py-pip py2-pip git build-base bash
7-
RUN pip3 install git+https://github.com/python/mypy.git@0bb2d1680e8b9522108b38d203cb73021a617e64#egg=mypy-lang
6+
RUN apk add --no-cache --update python python3 git make
87

98
WORKDIR /opt/driver/src

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ DEV_DEPS ?= native/dev_deps
22

33
test-native-internal:
44
pip3 install --user ${DEV_DEPS}/python-pydetector/ || pip3 install --user pydetector-bblfsh
5-
pip3 install --user git+https://github.com/python/mypy.git@0bb2d1680e8b9522108b38d203cb73021a617e64#egg=mypy-lang
65
cd native/python_package/test && \
76
python3 -m unittest discover
87

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Development Environment
77

88
Requirements:
99
- `docker`
10-
- [`bblfsh-sdk`](https://github.com/bblfsh/sdk) _(go get -u github.com/bblfsh/sdk/...)_
10+
- [`bblfsh-sdk`](https://github.com/bblfsh/sdk) _(go get -u gopkg.in/bblfsh/sdk.v1/...)_
1111
- UAST converter dependencies _(go get -t -v ./...)_
1212

1313
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.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.5'
1+
__version__ = '1.0'
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
pydetector-bblfsh==0.14.2
2-
-e git+git://github.com/python/mypy.git@0bb2d1680e8b9522108b38d203cb73021a617e64#egg=mypy-lang
3-
typed-ast==1.0.1

0 commit comments

Comments
 (0)