From 65cc22fa788064aa8ec51cddb3b601fa04c46178 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Thu, 25 Aug 2016 22:54:28 +0700 Subject: [PATCH] Added docs for SQLite plugin --- docs/en/README.md | 1 + docs/en/plugins/sqlite.md | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 docs/en/plugins/sqlite.md diff --git a/docs/en/README.md b/docs/en/README.md index ab6cd0e2..f370014f 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -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` diff --git a/docs/en/plugins/sqlite.md b/docs/en/plugins/sqlite.md new file mode 100644 index 00000000..43b8f3b1 --- /dev/null +++ b/docs/en/plugins/sqlite.md @@ -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;" +```