diff --git a/.gitignore b/.gitignore index 22d0d82..0c1803a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ +Dockerfile +docker-compose.yml vendor diff --git a/README.md b/README.md index e0b7c11..dfb02fc 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,7 @@ TLD list is available out of the box, but if you want to submit patches, add new update data source or contribute in any other way, you will probably want to rebuild the list: ```bash -$ composer install -$ ./bin/build +$ docker-compose run php /var/www/html/bin/build -v ``` Other Interesting Lists diff --git a/composer.json b/composer.json index 0e5de34..4c9c68f 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,21 @@ }, "require-dev": { "ext-intl": "*", - "umpirsky/list-generator": "^1.1" + "umpirsky/list-generator": "^1.2", + "slowprog/composer-copy-file": "^0.2" + }, + "scripts": { + "post-install-cmd": [ + "SlowProg\\CopyFile\\ScriptHandler::copy" + ], + "post-update-cmd": [ + "SlowProg\\CopyFile\\ScriptHandler::copy" + ] + }, + "extra": { + "copy-file": { + "vendor/umpirsky/list-generator/Dockerfile": "./", + "vendor/umpirsky/list-generator/docker-compose.yml": "./" + } } } diff --git a/composer.lock b/composer.lock index 09712f3..2a88939 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "ef0661394edd07043fe1dd0ca26cc970", - "content-hash": "93b4fb5eacc7e9c2964a30da4e65eb53", + "content-hash": "ba8ba5f3819fef6735e9a88a2836e0e8", "packages": [], "packages-dev": [ { @@ -74,7 +73,7 @@ "docblock", "parser" ], - "time": "2015-08-31 12:32:49" + "time": "2015-08-31T12:32:49+00:00" }, { "name": "doctrine/cache", @@ -144,7 +143,7 @@ "cache", "caching" ], - "time": "2015-12-31 16:37:02" + "time": "2015-12-31T16:37:02+00:00" }, { "name": "doctrine/collections", @@ -210,7 +209,7 @@ "collections", "iterator" ], - "time": "2015-04-14 22:21:58" + "time": "2015-04-14T22:21:58+00:00" }, { "name": "doctrine/common", @@ -283,7 +282,7 @@ "persistence", "spl" ], - "time": "2015-12-25 13:18:31" + "time": "2015-12-25T13:18:31+00:00" }, { "name": "doctrine/dbal", @@ -354,7 +353,7 @@ "persistence", "queryobject" ], - "time": "2016-01-05 22:11:12" + "time": "2016-01-05T22:11:12+00:00" }, { "name": "doctrine/inflector", @@ -421,7 +420,7 @@ "singularize", "string" ], - "time": "2015-11-06 14:35:42" + "time": "2015-11-06T14:35:42+00:00" }, { "name": "doctrine/lexer", @@ -475,7 +474,54 @@ "lexer", "parser" ], - "time": "2014-09-09 13:34:57" + "time": "2014-09-09T13:34:57+00:00" + }, + { + "name": "slowprog/composer-copy-file", + "version": "0.2.1", + "source": { + "type": "git", + "url": "https://github.com/slowprog/CopyFile.git", + "reference": "400c2b7c9f9f8ed8195217ae143ffbf3fec84c31" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/slowprog/CopyFile/zipball/400c2b7c9f9f8ed8195217ae143ffbf3fec84c31", + "reference": "400c2b7c9f9f8ed8195217ae143ffbf3fec84c31", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "composer/composer": "1.0.*@dev", + "mikey179/vfsstream": "~1", + "phpunit/phpunit": "~5.0", + "symfony/filesystem": "~2.7", + "symfony/finder": "~2.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "SlowProg\\CopyFile\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andrey Tyshev", + "email": "slowprog@gmail.com" + } + ], + "description": "Composer script copying your files after install", + "homepage": "https://github.com/SlowProg/composer-copy-file", + "keywords": [ + "copy file" + ], + "time": "2017-12-07T13:18:47+00:00" }, { "name": "symfony/console", @@ -535,7 +581,7 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2015-12-22 10:39:06" + "time": "2015-12-22T10:39:06+00:00" }, { "name": "symfony/filesystem", @@ -584,7 +630,7 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2015-12-22 10:39:06" + "time": "2015-12-22T10:39:06+00:00" }, { "name": "symfony/finder", @@ -633,7 +679,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2015-12-05 11:13:14" + "time": "2015-12-05T11:13:14+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -692,7 +738,7 @@ "portable", "shim" ], - "time": "2015-11-20 09:19:13" + "time": "2015-11-20T09:19:13+00:00" }, { "name": "symfony/yaml", @@ -741,25 +787,25 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2015-12-26 13:39:53" + "time": "2015-12-26T13:39:53+00:00" }, { "name": "umpirsky/list-generator", - "version": "v1.1.0", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/umpirsky/list-generator.git", - "reference": "e51abb5288a9615c8f13842a977bf2171e8f5fab" + "reference": "9acffae8232a7957a08b545a2f26d1488731a625" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/umpirsky/list-generator/zipball/e51abb5288a9615c8f13842a977bf2171e8f5fab", - "reference": "e51abb5288a9615c8f13842a977bf2171e8f5fab", + "url": "https://api.github.com/repos/umpirsky/list-generator/zipball/9acffae8232a7957a08b545a2f26d1488731a625", + "reference": "9acffae8232a7957a08b545a2f26d1488731a625", "shasum": "" }, "require": { "doctrine/dbal": "~2.5", - "php": "~5.4", + "php": "^7.1", "symfony/console": "^2.7|^3.0", "symfony/filesystem": "^2.7|^3.0", "symfony/finder": "^2.7|^3.0", @@ -783,7 +829,7 @@ } ], "description": "Export data to various formats.", - "time": "2016-01-06 11:34:39" + "time": "2018-02-27T18:18:11+00:00" }, { "name": "zendframework/zend-db", @@ -837,7 +883,7 @@ "db", "zf2" ], - "time": "2015-12-09 21:17:32" + "time": "2015-12-09T21:17:32+00:00" }, { "name": "zendframework/zend-hydrator", @@ -893,7 +939,7 @@ "hydrator", "zf2" ], - "time": "2015-09-17 14:06:43" + "time": "2015-09-17T14:06:43+00:00" }, { "name": "zendframework/zend-stdlib", @@ -951,7 +997,7 @@ "stdlib", "zf2" ], - "time": "2015-10-15 15:57:32" + "time": "2015-10-15T15:57:32+00:00" } ], "aliases": [],