Added docs for SQLite plugin

This commit is contained in:
Dmitry Khomutov 2016-08-25 22:54:28 +07:00
parent e724504610
commit 65cc22fa78
2 changed files with 24 additions and 0 deletions

View file

@ -46,6 +46,7 @@ Plugins
* [Package Build](plugins/package_build.md) - `package_build`
* [PDepend](plugins/pdepend.md) - `pdepend`
* [PostgreSQL](plugins/pgsql.md) - `pgsql`
* [SQLite](plugins/sqlite.md) - `sqlite`
* [Phar](plugins/phar.md) - `phar`
* [Phing](plugins/phing.md) - `phing`
* [PHP Code Sniffer](plugins/php_code_sniffer.md) - `php_code_sniffer`

23
docs/en/plugins/sqlite.md Normal file
View file

@ -0,0 +1,23 @@
Plugin SQLite
-------------
Connects to a given SQLite DB and runs a list of queries.
Configuration
=============
### Examples
```yaml
build_settings:
sqlite:
path: '/path/to/sqlite.sqlite'
setup:
sqlite:
- "CREATE DATABASE my_app_test;"
complete:
sqlite:
- "DROP DATABASE my_app_test;"
```