cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benn Mapes <benn.ma...@gmail.com>
Subject Re: Published CLI 3.07 may have Windows line endings, and is generally broken.
Date Wed, 28 Aug 2013 23:07:58 GMT
Yah, there should be something to catch this cause I could see it happening
again down the road.
I just republished on an mac and it seems to work fine now.

~Benn


On Wed, Aug 28, 2013 at 9:55 AM, Carlos Santana <csantana23@gmail.com>wrote:

> What about a git hook (server or client)?
>
> example of pre-commit hook:
> https://gist.github.com/johnjohndoe/4024222
>
> reference:
> http://git-scm.com/book/en/Customizing-Git-Git-Hooks
>
> --Carlos
>
>
>
> On Wed, Aug 28, 2013 at 11:47 AM, Ian Clelland <iclelland@google.com>
> wrote:
>
> > Yes, by 4684, I mean 4686 :)
> >
> > Thanks
> >
> >
> >
> > On Wed, Aug 28, 2013 at 11:44 AM, Shazron <shazron@gmail.com> wrote:
> >
> > > CB-4686 actually
> > > https://issues.apache.org/jira/browse/CB-4686
> > >
> > >
> > > On Wed, Aug 28, 2013 at 10:19 PM, Ian Clelland <iclelland@chromium.org
> > > >wrote:
> > >
> > > > From the discussion on CB-4684, it looks like the latest CLI (3.0.7)
> is
> > > > broken on non-windows environments.
> > > >
> > > > The line endings have changed from \n to \r\n, and Bash is confused.
> > > >
> > > > The quick fix seems to be to republish from Unix, and declare "Don't
> > > > publish from a Windows machine".
> > > >
> > > > I feel like there should be a better solution, as this must come up
> all
> > > the
> > > > time in other projects, but this bug is two years old and still open:
> > > > https://github.com/isaacs/npm/issues/2097
> > > >
> > > > Ian
> > > >
> > >
> >
>
>
>
> --
> Carlos Santana
> <csantana23@gmail.com>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message