Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

skeleton

  • Loading branch information...
commit 1a4be88ff86e87bf585b7fe696a4e0ee2e5e685d 0 parents
@typester authored
12 Makefile.PL
@@ -0,0 +1,12 @@
+use inc::Module::Install;
+name 'Jobeet';
+all_from 'lib/Jobeet.pm';
+
+requires 'Ark';
+
+tests 't/*.t';
+
+build_requires 'Test::More';
+use_test_base;
+auto_include;
+WriteAll;
6 lib/Jobeet.pm
@@ -0,0 +1,6 @@
+package Jobeet;
+use Ark;
+
+our $VERSION = '0.01';
+
+1;
19 lib/Jobeet/Controller/Root.pm
@@ -0,0 +1,19 @@
+package Jobeet::Controller::Root;
+use Ark 'Controller';
+
+has '+namespace' => default => '';
+
+# default 404 handler
+sub default :Path :Args {
+ my ($self, $c) = @_;
+
+ $c->res->status(404);
+ $c->res->body('404 Not Found');
+}
+
+sub index :Path :Args(0) {
+ my ($self, $c) = @_;
+ $c->res->body('Ark Default Index');
+}
+
+1;
4 t/00_compile.t
@@ -0,0 +1,4 @@
+use strict;
+use Test::More tests => 1;
+
+BEGIN { use_ok 'Jobeet' }
1  tmp/.gitignore
@@ -0,0 +1 @@
+*
Please sign in to comment.
Something went wrong with that request. Please try again.