[Jifty-commit] r499 - in jifty/trunk: . t/TestApp t/TestApp/bin
t/TestApp/lib t/TestApp/lib/TestApp
t/TestApp/lib/TestApp/Action t/TestApp/lib/TestApp/Model
t/TestApp/t t/TestApp/web t/TestApp/web/static
t/TestApp/web/static/images t/TestApp/web/templates
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Jan 12 20:55:12 EST 2006
Author: kevinr
Date: Thu Jan 12 20:55:12 2006
New Revision: 499
Added:
jifty/trunk/t/TestApp/
jifty/trunk/t/TestApp/Makefile.PL
jifty/trunk/t/TestApp/bin/
jifty/trunk/t/TestApp/bin/jifty (contents, props changed)
jifty/trunk/t/TestApp/etc/
jifty/trunk/t/TestApp/etc/config.yml
jifty/trunk/t/TestApp/lib/
jifty/trunk/t/TestApp/lib/TestApp/
jifty/trunk/t/TestApp/lib/TestApp/Action/
jifty/trunk/t/TestApp/lib/TestApp/Model/
jifty/trunk/t/TestApp/t/
jifty/trunk/t/TestApp/web/
jifty/trunk/t/TestApp/web/static/
jifty/trunk/t/TestApp/web/static/images/
jifty/trunk/t/TestApp/web/templates/
Modified:
jifty/trunk/ (props changed)
Log:
r10310 at SAD-GIRL-IN-SNOW: kevinr | 2006-01-09 18:57:17 -0500
* Added an app for testing
Added: jifty/trunk/t/TestApp/Makefile.PL
==============================================================================
--- (empty file)
+++ jifty/trunk/t/TestApp/Makefile.PL Thu Jan 12 20:55:12 2006
@@ -0,0 +1,6 @@
+use inc::Module::Install;
+name('TestApp');
+version('0.01');
+requires('Jifty' => '0.51228');
+
+WriteAll;
Added: jifty/trunk/t/TestApp/bin/jifty
==============================================================================
--- (empty file)
+++ jifty/trunk/t/TestApp/bin/jifty Thu Jan 12 20:55:12 2006
@@ -0,0 +1,19 @@
+#!/sw/bin/perl5.8.6
+
+eval 'exec /sw/bin/perl5.8.6 -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+use warnings;
+use strict;
+use File::Basename qw(dirname);
+
+BEGIN {
+ eval {
+ require Jifty::Util;
+ my $root = Jifty::Util->app_root;
+ unshift @INC, "$root/lib" if ($root);
+ }
+
+}
+
+use Jifty::Script;
+Jifty::Script->dispatch();
Added: jifty/trunk/t/TestApp/etc/config.yml
==============================================================================
--- (empty file)
+++ jifty/trunk/t/TestApp/etc/config.yml Thu Jan 12 20:55:12 2006
@@ -0,0 +1,21 @@
+---
+framework:
+ ActionBasePath: TestApp::Action
+ AdminMode: 1
+ ApplicationClass: TestApp
+ ApplicationName: TestApp
+ CurrentUserClass: TestApp::CurrentUser
+ Database:
+ Database: testapp
+ Driver: SQLite
+ Host: localhost
+ Password: ''
+ User: ''
+ Version: 0.0.1
+ Mailer: Sendmail
+ MailerArgs: []
+ Web:
+ DefaultStaticRoot: /sw/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level/auto/Jifty/web/static
+ DefaultTemplateRoot: /sw/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level/auto/Jifty/web/templates
+ StaticRoot: web/static
+ TemplateRoot: web/templates
More information about the Jifty-commit
mailing list