Bugzilla – Attachment 8893 Details for
Bug 7844
plack scripts for developers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7844 - plack shell helpers
Bug-7844---plack-shell-helpers.patch (text/plain), 1.80 KB, created by
Dobrica Pavlinusic
on 2012-04-04 22:53:14 UTC
(
hide
)
Description:
Bug 7844 - plack shell helpers
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2012-04-04 22:53:14 UTC
Size:
1.80 KB
patch
obsolete
>From 39b32bb695b56b13f8caf550348294c877026b46 Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Thu, 5 Apr 2012 00:38:44 +0200 >Subject: [PATCH] Bug 7844 - plack shell helpers > >--- > misc/plack/cpanm-install.sh | 8 ++++++++ > misc/plack/debian-install.sh | 9 +++++++++ > misc/plack/drop-cache.sh | 2 ++ > 3 files changed, 19 insertions(+), 0 deletions(-) > create mode 100755 misc/plack/cpanm-install.sh > create mode 100755 misc/plack/debian-install.sh > create mode 100755 misc/plack/drop-cache.sh > >diff --git a/misc/plack/cpanm-install.sh b/misc/plack/cpanm-install.sh >new file mode 100755 >index 0000000..589cb73 >--- /dev/null >+++ b/misc/plack/cpanm-install.sh >@@ -0,0 +1,8 @@ >+#!/bin/sh -xe >+ >+sudo cpan App::cpanminus >+cpanm --sudo Task::Plack \ >+ Plack::Middleware::Static::Minifier \ >+ Plack::Middleware::Debug::Profiler::NYTProf \ >+ Plack::Middleware::Debug::DBIProfile >+ >diff --git a/misc/plack/debian-install.sh b/misc/plack/debian-install.sh >new file mode 100755 >index 0000000..d645d07 >--- /dev/null >+++ b/misc/plack/debian-install.sh >@@ -0,0 +1,9 @@ >+sudo apt-get install libplack-perl libcgi-emulate-psgi-perl libfile-pushd-perl libtext-microtemplate-perl libclass-method-modifiers-perl \ >+libcss-minifier-xs-perl libjavascript-minifier-xs-perl >+ >+sudo dh-make-perl --install --cpan CGI::Compile >+sudo dh-make-perl --install --cpan Module::Versions >+sudo dh-make-perl --install --cpan Plack::Middleware::Debug >+sudo dh-make-perl --install --cpan Plack::Middleware::Static::Minifier >+sudo dh-make-perl --build --cpan Plack::Middleware::Debug::DBIProfile >+ >diff --git a/misc/plack/drop-cache.sh b/misc/plack/drop-cache.sh >new file mode 100755 >index 0000000..a83b111 >--- /dev/null >+++ b/misc/plack/drop-cache.sh >@@ -0,0 +1,2 @@ >+#!/bin/sh -x >+sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7844
:
8684
|
8693
|
8731
|
8892
|
8893
|
8894
|
9113
|
9879
|
10082
|
10220
|
26148
|
26201
|
26206
|
26227
|
26275