| 1 | # Copyright 2014-2019 - Giovanni Simoni | ||
| 2 | # | ||
| 3 | # This file is part of PFT. | ||
| 4 | # | ||
| 5 | # PFT is free software: you can redistribute it and/or modify it under the | ||
| 6 | # terms of the GNU General Public License as published by the Free | ||
| 7 | # Software Foundation, either version 3 of the License, or (at your | ||
| 8 | # option) any later version. | ||
| 9 | # | ||
| 10 | # PFT is distributed in the hope that it will be useful, but WITHOUT ANY | ||
| 11 | # WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 12 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 13 | # for more details. | ||
| 14 | # | ||
| 15 | # You should have received a copy of the GNU General Public License along | ||
| 16 | # with PFT. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | |||
| 18 | package App::PFT v1.4.1; # Remember to fix version in $VersionString | ||
| 19 | |||
| 20 | use strict; | ||
| 21 | use warnings; | ||
| 22 | use PFT; | ||
| 23 | |||
| 24 | use Exporter 'import'; | ||
| 25 | our @EXPORT_OK = qw/$Name $ConfName $VersionString/; | ||
| 26 | |||
| 27 | our $Name = 'pft'; | ||
| 28 | our $ConfName = 'pft.yaml'; | ||
| 29 | our $NoInitMsg = "Not a $Name site. Try running: $Name init"; | ||
| 30 | our $VersionString = <<"EOF"; | ||
| 31 | App-PFT $App::PFT::VERSION Copyright (C) 2015-* Giovanni Simoni | ||
| 32 | PFT $PFT::VERSION Copyright (C) 2015-* Giovanni Simoni | ||
| 33 | This program comes with ABSOLUTELY NO WARRANTY. | ||
| 34 | This is free software, and you are welcome to redistribute it | ||
| 35 | under certain conditions; see the source code for details. | ||
| 36 | EOF | ||
| 37 | |||
| 38 | use FindBin; | ||
| 39 | use File::Spec; | ||
| 40 | |||
| 41 | sub help_of { | ||
| 42 | File::Spec->catfile($FindBin::RealBin, join '-', $Name, @_); | ||
| 43 | } | ||
| 44 | |||
| 45 | 1; |