From 02f7ecd8471810253e35cc8155034670ae4b8710 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 16 May 2014 13:29:18 +0200 Subject: checkpkgist: add License and set version to 1.0.0-dev --- checkpkgist/checkpkgist.php | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/checkpkgist/checkpkgist.php b/checkpkgist/checkpkgist.php index 5b772b1..5ffcccc 100755 --- a/checkpkgist/checkpkgist.php +++ b/checkpkgist/checkpkgist.php @@ -1,7 +1,39 @@ #!/usr/bin/php + * + * @category CheckPkgist + * @package FedoraClient + * + * @author Remi Collet + * @copyright 2014 Remi Collet + * @license http://www.gnu.org/licenses/lgpl-2.1.txt LGPL License 2.1 or (at your option) any later version + * @link https://github.com/remicollet/remirepo/tree/master/tools/checkpkgist + */ + require_once 'Cache/Lite.php'; +define ('VERSION', '1.0.0-dev'); + class PkgClient { const URL = 'https://packagist.org/'; protected $cache; @@ -29,9 +61,10 @@ class PkgClient { } } +printf("\nCheckPkgist version %s by Remi Collet.\n\n", VERSION); + if (in_array('-h', $_SERVER['argv']) || in_array('--help', $_SERVER['argv'])) { echo <<