Coder Social home page Coder Social logo

Comments (9)

patmooney avatar patmooney commented on June 26, 2024

Placing a .devdir file in t/ directory seems to work quite nicely

from dbix-class-migration.

jjn1056 avatar jjn1056 commented on June 26, 2024

Hey,

Thanks for pointing this out!  I'm in the middle of a big move, so will take a look as soon as I can get to it.  I am honestly a bit unhappy with this change in ProjectDistDir... I'll have to try and understand that.  Thanks!

John


From: patmooney [email protected]
To: jjn1056/DBIx-Class-Migration [email protected]
Sent: Thursday, September 26, 2013 9:47 AM
Subject: [DBIx-Class-Migration] Tests fail with File::ShareDir::ProjectDistDir 0.5.2 (#35)

Tests run with this error: Can't find a share () for Local
The new version of ProjectDistDir no longer looks for a lib/ directory to dictate the project root/ so the share/ directory is not being correctly located in t/
File::ShareDir::ProjectDistDir 0.5.2 searches upwards of the given module and looks for any of the following
META.json
META.yml
Change(s|log)(|[.][^.\s]+)
GNUmakefile
makefile
Makefile
.devdir
t/
xt/
MYMETA.json
MYMETA.yml
dist.ini
Makefile.PL
Build.PL

Reply to this email directly or view it on GitHub.

from dbix-class-migration.

vkroll avatar vkroll commented on June 26, 2024

Had the same issue, the .devdir File in t/ works

from dbix-class-migration.

jjn1056 avatar jjn1056 commented on June 26, 2024

@vkroll , @patmooney hey so I finally have some time clear to look at this, but sadly I can't replicate the issue. I've installed the newest ::ProjectDistDir and all. Can one of you add in comment the complete run and fail, and the steps you take to generate it, that way I can track it down. Thanks --John

from dbix-class-migration.

patmooney avatar patmooney commented on June 26, 2024

A rather drawn out method:
cpanm -L local DBIx::Schema::Migration

Use of uninitialized value $sharedir in concatenation (.) or string at /home/patrick/.cpanm/work/1381256651.7654/DBIx-Class-Migration-0.041/blib/lib/DBIx/Class/Migration/ShareDirBuilder.pm line 33.

from dbix-class-migration.

patmooney avatar patmooney commented on June 26, 2024

I the specific issue is with Path::IsDev and should have made that clear so I apologise!

from dbix-class-migration.

jjn1056 avatar jjn1056 commented on June 26, 2024

I thought I did a totally clean local lib and should have gotten the new Path::IsDev

Ok I will try again!

thanks!!!! -john

On Tuesday, October 8, 2013 1:32 PM, patmooney [email protected] wrote:

I the specific issue is with Path::IsDev and should have made that clear so I apologise!

Reply to this email directly or view it on GitHub.

from dbix-class-migration.

jjn1056 avatar jjn1056 commented on June 26, 2024

Well, I can't replicate this issue no matter what, but I'll just go ahead and do a release with that t/.devdir and hope it just works. Let me know! --John

from dbix-class-migration.

agorman avatar agorman commented on June 26, 2024

I believe Dist::Zilla::Plugin::PruneCruft is removing t/.devdir in your new release

from dbix-class-migration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.