Giter Club home page Giter Club logo

Comments (8)

surma avatar surma commented on August 24, 2024

I’d like to add a gulp task for the visual tests. As of now they are really awkward to reach (i.e. not at all via the gulp provided tasks).

from material-design-lite.

addyosmani avatar addyosmani commented on August 24, 2024

SGTM.

from material-design-lite.

addyosmani avatar addyosmani commented on August 24, 2024

The above items are done, with the exception of testing. There are a few open questions here that I'd love to hear others thoughts on:

  • Should we create a deployment script to populate gh-pages with the latest version of our components? It could be something manually done, or something we setup as a post-commit hook if we preferred automation.
  • For testing, we will need a few libraries from node_modules in order to enable http://google.github.io/material-design-lite/test/ to work. The above script idea could do this as part of its process without having to check in modules into master.

from material-design-lite.

surma avatar surma commented on August 24, 2024

Should we create a deployment script to populate gh-pages

I’d be in favor of a gulp task for that

The above script idea could do this as part of its process without having to check in modules into master

Wouldn’t these node dependencies already be installed when npm install is being run? Or am I missing something?

from material-design-lite.

addyosmani avatar addyosmani commented on August 24, 2024

I’d be in favor of a gulp task for that

This is fine by me, however we should keep in mind the growth/complexity of the gulpfile here as it will be used by others who want to customise the overall MDL source.

Wouldn’t these node dependencies already be installed when npm install is being run? Or am I missing something?

No. We ignore the node_modules directory (https://github.com/google/material-design-lite/blob/master/.gitignore) as we should for master. This means these deps are not available when pushed to gh-pages without some modification. So, we need a smarter solution there I'm afraid.

from material-design-lite.

surma avatar surma commented on August 24, 2024

Good point. Maybe a separate script is preferrable. But we should automate the process. I feel like a commit hook is a litte too much, though.

from material-design-lite.

addyosmani avatar addyosmani commented on August 24, 2024

Now that deployment has been added in, let's close this.

@surma given the number of breakages we've noticed with the last build I would say let's hold off on updating github pages with a deployment until we think we're in a stable spot.

from material-design-lite.

surma avatar surma commented on August 24, 2024

Agreed

from material-design-lite.

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.