| 1 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 5 | ▶ | use 5.022; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 5 | package Alien::Build::Wizard::Questions 0.07 { | |
| 6 | |||
| 7 | 5 | ▶ | use Exporter qw( import ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 5 | ▶ | use constant QUESTION_URL => 'Enter the full URL to the latest tarball (or zip, etc.) of the project you want to alienize.'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 5 | ▶ | use constant QUESTION_CLASS_NAME => 'What is the class name for your Alien?'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 5 | ▶ | use constant QUESTION_HUMAN_NAME => 'What is the human project name of the alienized package?'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 5 | ▶ | use constant QUESTION_PKG_NAMES => 'Which pkg-config names (if any) should be used to detect system install? You may space separate multiple names.'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 5 | ▶ | use constant QUESTION_BUILD_SYSTEM => 'Choose build system.'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 5 | ▶ | use constant QUESTION_ALIEN_TYPE => "What use cases will this Alien provide? You may choose more than one:\n" . |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | " - tool: command line tool, often used in building other Aliens\n" . | ||
| 15 | " - xs: library that can be used to build XS bindings\n" . | ||
| 16 | 5 | " - ffi: library that can be used to build FFI bindings\n"; | |
| 17 | 5 | ▶ | use constant QUESTION_LATEST => "Do you want to install the specific version from the URL above, or the latest version?\n" . |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | " - specific: best used when the alienized package may change a lot from version to version. You can still later change to a " . | ||
| 19 | "newer version, but you will have to make a new release of the Alien to do so.\n" . | ||
| 20 | " - latest: typically the best option. If the alienized package provides a relatively stable API new versions will be used " . | ||
| 21 | 5 | "when available without having to cut a new release of the Alein."; | |
| 22 | |||
| 23 | # ABSTRACT: List of questions | ||
| 24 | |||
| 25 | 5 | our @EXPORT_OK = sort grep /^QUESTION_/, keys %Alien::Build::Wizard::Questions::; | |
| 26 | 5 | our %EXPORT_TAGS = ( all => \@EXPORT_OK ); | |
| 27 | |||
| 28 | } | ||
| 29 | |||
| 30 | 5 | 1; | |
| 31 | |||
| 32 | __END__ | ||