Giter Club home page Giter Club logo

Comments (2)

searls avatar searls commented on July 4, 2024

Hey, this is something I honestly waffled on, and decided not to support it right out the gate.

The reasons I held back:

  • I figured it was easier to add this later than to take it away later
  • The :'s are there as namespaces, so for instance if I have test:unit and test:cover:unit, conceptually that is just how I want it (the latter running code coverage instrumentation), but I wouldn't want to run test and have it also repetitively pick up the coverage stuff; when I reviewed my huge cache of npm scripts, I saw a lot of cases like this that made me want to be less aggressive)
  • The more scripts you have the more ordering is likely to matter, and right now the implicit batching just relies on unspecified glob-order, so before considering this I think I'd really want #2 to be included

from scripty.

texastoland avatar texastoland commented on July 4, 2024

I'll PR today.

I wouldn't want to run test and have it also repetitively pick up the coverage stuff

I think test:cover should have an index like my example in #59.

I saw a lot of cases like this that made me want to be less aggressive)

💯 breaking change (2.x).

right now the implicit batching just relies on unspecified glob-order

Glob order is guaranteed lexicographic so build:step-0, build:step-1, etc but I should write tests against it.

I'd really want #2 to be included

I envision these kinds of scripts running in parallel like lint:css and lint:js. Otherwise it feels like reinventing Grunt.

from scripty.

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.