aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2008-01-03 19:16:32 +0000
committerdakkar <dakkar@luxion>2008-01-03 19:16:32 +0000
commit2cd6e7f426e4fa6d65f387d56f83226d4e399d12 (patch)
treeccc6c77de7405b0575e6abd509f3517128e9329c
parentminor cleanings (diff)
downloadWebCoso-2cd6e7f426e4fa6d65f387d56f83226d4e399d12.tar.gz
WebCoso-2cd6e7f426e4fa6d65f387d56f83226d4e399d12.tar.bz2
WebCoso-2cd6e7f426e4fa6d65f387d56f83226d4e399d12.zip
MakeMaker!
git-svn-id: svn://luxion/repos/WebCoso/trunk@325 fcb26f47-9200-0410-b104-b98ab5b095f3
-rw-r--r--Makefile.PL9
-rw-r--r--script/webcoso.pl (renamed from webcoso.pl)0
-rw-r--r--t/whole-01.t8
3 files changed, 14 insertions, 3 deletions
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 0000000..3ecfbbc
--- /dev/null
+++ b/Makefile.PL
@@ -0,0 +1,9 @@
+use ExtUtils::MakeMaker;
+
+WriteMakefile(
+ NAME => 'WebCoso',
+ VERSION_FROM => 'script/webcoso.pl',
+ ABSTRACT_FROM => 'script/webcoso.pl',
+ AUTHOR => 'dakkar@thenautilus.net',
+ EXE_FILES => ['script/webcoso.pl'],
+);
diff --git a/webcoso.pl b/script/webcoso.pl
index 3552974..3552974 100644
--- a/webcoso.pl
+++ b/script/webcoso.pl
diff --git a/t/whole-01.t b/t/whole-01.t
index 10c9204..054d2ee 100644
--- a/t/whole-01.t
+++ b/t/whole-01.t
@@ -6,13 +6,15 @@ use Path::Class;
chdir file(__FILE__)->parent->parent->stringify;
-system($^X,qw(-Ilib webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/ --clean))
+$ENV{PERL5LIB}=join ':',@INC;
+
+system($^X,qw(blib/script/webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/ --clean))
and die "Problems running webcoso.pl (clean): $?\n";
-system($^X,qw(-Ilib webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/))
+system($^X,qw(blib/script/webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/))
and die "Problems running webcoso.pl: $?\n";
is(system(qw(diff -r -x .svn t/test-site/output/ t/test-site-output/)),0,'output as expected');
-system($^X,qw(-Ilib webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/ --clean))
+system($^X,qw(blib/script/webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/ --clean))
and die "Problems running webcoso.pl (clean): $?\n";