Get rid of Path::Class ( that *does* feel good )
[dbsrgits/DBIx-Class.git] / t / lib / ANFANG.pm
index 444cf41..70106d1 100644 (file)
@@ -123,4 +123,17 @@ BEGIN {
 
 use lib 't/lib';
 
+# everything expects this to be there
+! -d 't/var' and (
+  mkdir 't/var'
+    or
+  die "Unable to create 't/var': $!\n"
+);
+
+# Back in ab340f7f ribasushi stupidly introduced a "did you check your deps"
+# verification tied very tightly to Module::Install. The check went away, and
+# so eventually will M::I, but bisecting can bring all of this back from the
+# dead. In order to reduce hair-pulling make sure that ./inc/ is always there
+-f 'Makefile.PL' and mkdir 'inc' and mkdir 'inc/.author';
+
 1;