-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 741803f
Showing
36 changed files
with
2,700 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Makefile | ||
Makefile.old | ||
Build | ||
Build.bat | ||
META.* | ||
MYMETA.* | ||
.build/ | ||
_build/ | ||
cover_db/ | ||
blib/ | ||
inc/ | ||
.lwpcookies | ||
.last_cover_stats | ||
nytprof.out | ||
pod2htm*.tmp | ||
pm_to_blib | ||
Ado-* | ||
Ado-*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
use 5.016003; | ||
|
||
#use 5.014002; | ||
use strict; | ||
use warnings FATAL => 'all'; | ||
use File::Spec::Functions qw(catdir); | ||
use Data::Dumper; | ||
use FindBin; | ||
BEGIN { unshift @INC, "$FindBin::Bin/lib" } | ||
|
||
use Ado::Build; | ||
my $builder = Ado::Build->new( | ||
module_name => 'Ado', | ||
license => 'LGPL_3_0', | ||
create_license => 1, | ||
dist_author => q{Красимир Беров <berov@cpan.org>}, | ||
|
||
#dist_version_from => 'lib/Ado.pm', | ||
release_status => 'unstable', | ||
configure_requires => { | ||
'Module::Build' => '0', | ||
|
||
#Need only to get a Licence file in the distro | ||
#'Software::License' => '0.103007', | ||
}, | ||
build_requires => { | ||
'Test::More' => '0', | ||
($^O =~ /Win32/i ? ('Win32::Locale' => '0') : ()), | ||
|
||
}, | ||
requires => { | ||
Mojolicious => '4.57', | ||
'Mojolicious::Plugin::DSC' => '0.997', | ||
}, | ||
|
||
recommends => { | ||
|
||
#Modules for QA - while developping | ||
'Perl::Tidy' => '0', | ||
'Test::Perl::Critic' => '0', | ||
'Test::CheckManifest' => '0', | ||
'Test::Pod::Coverage' => '1.08', | ||
'Test::Pod' => '1.48', | ||
'Devel::Cover' => '1.08', | ||
|
||
#We cope with DBD::SQLite just fine, | ||
#but DBD::mysql is also supported | ||
'DBD::mysql' => '4.025', | ||
'DBD::SQLite' => '1.40', | ||
}, | ||
recursive_test_files => 1, | ||
meta_merge => { | ||
requires => {perl => '5.016003'}, | ||
resources => { | ||
repository => "http://github.com/kberov/Ado", | ||
bugtracker => "http://github.com/kberov/Ado/issues", | ||
}, | ||
}, | ||
|
||
script_files => 'bin', | ||
add_to_cleanup => ['Ado-*', 'log/*.log', '*.bak'], | ||
etc_files => {'etc/ado.conf' => 'etc/ado.conf'}, | ||
); | ||
$builder->add_build_element($_) for (qw(etc public)); | ||
my $prefix = $builder->prefix; | ||
my $default_prefix = catdir($ENV{HOME}, 'opt', 'ado'); | ||
$builder->prefix( | ||
$builder->prompt( | ||
'Where you want to install ' | ||
. $builder->module_name . '?' | ||
. $/ | ||
. 'We recommend some private prefix:', | ||
$default_prefix | ||
) | ||
) unless $prefix; | ||
$builder->install_path(etc => catdir($builder->prefix, 'etc')); | ||
$builder->install_path(public => catdir($builder->prefix, 'public')); | ||
|
||
$builder->create_build_script(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Revision history for Ado | ||
|
||
0.10 2013-11-23 19:56:09 CET | ||
- We have a working application with several common | ||
predefined routes and controllers. | ||
|
Oops, something went wrong.