Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added required modules to Makefile

  • Loading branch information...
commit 47cbe8bceff5bcf813bdd65056b8679fadecf937 1 parent 44baee4
@dann authored
View
16 Makefile.PL
@@ -2,9 +2,23 @@ use inc::Module::Install;
name 'Angelos';
all_from 'lib/Angelos.pm';
-requires $_ for (qw/ /);
+requires 'Mouse';
+requires 'HTTP::Router';
+requires 'HTTP::Engine';
+requires 'Module::Pluggable::Object';
+requires 'Log::Dispatch::Config';
+requires 'Log::Dispatch::Configurator';
+requires 'Log::Dispatch::Configurator::YAML';
+requires 'MIME::Types';
+requires 'Path::Class';
+requires 'Text::SimpleTable';
+requires 'YAML';
+requires 'Devel::InnerPackage';
+requires 'Class::Inspector';
+requires 'Module::Setup';
build_requires 'Test::More';
+
use_test_base;
auto_include;
WriteAll;
View
7 lib/Angelos.pm
@@ -10,6 +10,7 @@ use Angelos::Home;
use Angelos::Component::Loader;
use Angelos::Dispatcher::Routes::Builder;
use Angelos::Config;
+use Angelos::Logger;
has 'conf' => ( is => 'rw', );
@@ -78,8 +79,6 @@ sub setup_server {
server => $self->server,
conf => $self->conf,
);
-
- # FIXME move to default
$self->server_instance($server);
$server;
}
@@ -97,9 +96,7 @@ sub setup_home {
sub setup_logger {
my $self = shift;
-
- # FIXME
- # $self->server_instance->logger->path();
+ $self->server_instance->logger( Angelos::Logger->new );
}
sub setup_components {
View
2  lib/Angelos/MIMETypes.pm
@@ -14,7 +14,7 @@ has 'types' => (
)
);
$mimetypes;
- }
+ },
);
no Mouse;
View
1  t/conf/config.yaml
@@ -31,4 +31,3 @@ plugins:
- module:
config:
-
Please sign in to comment.
Something went wrong with that request. Please try again.