Skip to content

Commit 75986d9

Browse files
committed
Lock Dev Dependency
Commit lock file in addition to json to lock in working versions, also update the readme to document using Composer.
1 parent 546067c commit 75986d9

File tree

3 files changed

+201
-8
lines changed

3 files changed

+201
-8
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
/composer.lock
21
/vendor/
32
.php-autoload-generator-cache.json

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ Currently the following engines are supported:
88
* *Hive* -- Over the HiveServer2 Thrift interface, SASL is enabled by default so username and password must be provided however this can be turned off with the `setSasl()` method before calling `connect()`.
99
* *Impala* -- Over the Impala Service Thrift interface which extends the Beeswax protocol.
1010

11-
Building Phar
12-
-------------
13-
14-
```
15-
$ php -d phar.readonly=0 build.php
16-
```
17-
1811
Usage Example
1912
-------------
2013

@@ -40,3 +33,18 @@ print_r( $impalaTables );
4033
$hive->disconnect();
4134
$impala->disconnect();
4235
```
36+
37+
Developing & Contributing
38+
-------------------------
39+
40+
In order to rebuild this library you will need [Composer](https://getcomposer.org/) to install dev dependencies:
41+
42+
```
43+
$ composer install
44+
```
45+
46+
Once dev tools are installed the phar can be rebuilt using the build script:
47+
48+
```
49+
$ php -d phar.readonly=0 build.php
50+
```

composer.lock

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

0 commit comments

Comments
 (0)