[Jifty-commit] r494 - jifty/trunk/bin
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Jan 10 22:26:01 EST 2006
Author: jesse
Date: Tue Jan 10 22:26:01 2006
New Revision: 494
Added:
jifty/trunk/bin/build_par
Modified:
/ (props changed)
jifty/trunk/Makefile.PL
Log:
r22346 at truegrounds: jesse | 2006-01-10 23:26:41 +0100
* First stab at a parbuilder for jifty. it's still not quite right.
Modified: jifty/trunk/Makefile.PL
==============================================================================
--- jifty/trunk/Makefile.PL (original)
+++ jifty/trunk/Makefile.PL Tue Jan 10 22:26:01 2006
@@ -49,7 +49,7 @@
requires('Pod::Usage');
requires('Scalar::Util');
requires('String::Koremutake');
-requires('Test::Base'); # Test::Base::Filter
+requires('Test::Base' => 0.44); # Test::Base::Filter
requires('Test::HTML::Lint');
requires('Test::HTTP::Server::Simple' => 0.02);
requires('Test::More' => 0.62);
@@ -68,6 +68,7 @@
version_from('lib/Jifty.pm');
#&auto_bundle_deps();
&auto_install();
+#&auto_include_dependent_dists();
install_script('bin/jifty');
install_share;
Added: jifty/trunk/bin/build_par
==============================================================================
--- (empty file)
+++ jifty/trunk/bin/build_par Tue Jan 10 22:26:01 2006
@@ -0,0 +1,23 @@
+#!/bin/sh
+pp -z 9 -s \
+ -o ../par/jifty-`perl -e'print $^O'`-`grep '^version' META.yml|cut -d" " -f 2` \
+ -M `grep :: Makefile.PL |cut -d\' -f 2|grep -v '^use' |xargs -n 1 echo -n " -M "` \
+ -I lib -I inc\
+ -M `(cd inc ;find -type f -name \*.pm|cut -c 3-| grep -v '^Module/Install.pm$'|xargs -n 1 echo -n " -M ")` \
+ -M `(cd lib ;find -type f -name \*.pm|cut -c 3-| xargs -n 1 echo -n " -M ")` \
+ -a 'share/;lib/auto/Jifty/' \
+ bin/jifty
+
+
+# Make a parball
+# Execute code to get dependencies
+# Compress it a lot
+# -s
+# name it as "jifty-platform-version" in jifty/par (next to jifty-trunk)
+# include all our dependencies from Makefile.PL
+# use the "lib" directory
+# include all of Jifty's libs to pick up dependencies
+# include Jifty's share directory in the par
+# do all this by sourcing bin/jifty
+
+
More information about the Jifty-commit
mailing list