Coder Social home page Coder Social logo

Comments (9)

bungle avatar bungle commented on June 11, 2024

To get advpng to work I needed to apply this attribute to its apply-tag:

 force="true"

from ant-build-script.

roblarsen avatar roblarsen commented on June 11, 2024

#141 and #147 are relevant.

As you can see, it's been a while since this (At least part of this) was brought to my attention. I've been busy with other things and I don't have a Mac, so I can't test any of this there. Which sucks.

I did write the scary, unreliable, version test on Ubuntu, so it breaking there is a little bit of a surprise (but not much of one, since I referred to as "scary" when I came up with the solution.)

I've been hoping to take a day or two at some point and rewrite this whole thing, since it's a big hunk of frankencode at this point. Obviously that hasn't happened, but this feedback on the ugliness will help get it sorted out.

I'm confused as to the os.family issue. I'll have to go through the history to see what the purpose of that was (I don't remember and don't remember doing it myself. )

from ant-build-script.

bungle avatar bungle commented on June 11, 2024

I mistakenly closed this issue, so I re-opened it. But the errors and fixes are above. Everything works now. But it was rather nasty to debug this issue. Hopefully this gets fixed on mainline too, so others can benefit.

from ant-build-script.

roblarsen avatar roblarsen commented on June 11, 2024

I found the commit which introduced the os.family bug.

653451a#L0L897

from ant-build-script.

bungle avatar bungle commented on June 11, 2024

Yes, that scary test is fine, but Ubuntu 12.04.2 doesn't have 0.7 by default, so it didn't pass the test. I had to install more current version from ppa, which sadly has a bug too, and displays the version as "Hg", which sucks. In general I think it's more problematic to have that test than fail on 0.6.x version (does it even fail with 0.6.x?).

from ant-build-script.

roblarsen avatar roblarsen commented on June 11, 2024

Ah, thanks for the clarification. As I said, I want to just rework the whole section. There's just a lot going on so it's going to take a while. We added a lot in the push to get 1.0 out the door (the commit above solved one longstanding issue, in addition to introducing this bug) so it ended up being pretty messy.

from ant-build-script.

bungle avatar bungle commented on June 11, 2024

Yes, I looked also the history, and that was one scary blob of an update (I did not have these problems on version before that). But with the findings, and workarounds I did, I don't think it's very big problem to fix. Let me know when you have a new version committed so I can confirm that everything works. Thanks for a great tool!

from ant-build-script.

roblarsen avatar roblarsen commented on June 11, 2024

Cool. I'll see if I can pull this together tonight or tomorrow. This has bugged me for a while and all this research will make it go a lot quicker than I expected. I'll close this issue once the new version is in.

from ant-build-script.

roblarsen avatar roblarsen commented on June 11, 2024

Open for testing
https://github.com/h5bp/ant-build-script/tree/new-image-optimization

from ant-build-script.

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.