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

bblfsh/php-driver

Repository files navigation

PHP driver for Babelfish Driver Status Build Status Native Version Go Version

php driver for babelfish.

Development Environment

Requirements:

  • docker
  • Go 1.13+

To initialize the build system execute: go test ./driver, at the root of the project. This will generate the Dockerfile for this driver.

To run the tests just execute go run test.go, this will start the test over the native and the Go components of the driver using Docker.

The build is done executing go run build.go. To evaluate the result using a docker container, execute: go run build.go test-driver && docker run -it test-driver.

If the project is located under $GOPATH, run all the above with GO111MODULE=on environment variable, or move the project to any other directory outside of $GOPATH.

License

GPLv3, see LICENSE