Giter Club home page Giter Club logo

Comments (2)

buddhike avatar buddhike commented on August 29, 2024

I guess the proposed structure for user defined commands would be:

commands:
  name:
    foo:
      - cmd: foo.sh
         args: [a, b]
         os: [linux, darwin]
      - cmd: powershell
         args: [-file, foo.ps1]
         os: [windows]
    bar:
      cmd: npm
      args: [build]
      os: [windows, linux, darwin]

With this we should be able to run mbt run-in xxx foo with specific configuration per os. mbt run-in xxx bar on the other, hand gives the default configuration across a set of environments (current behaviour with less configuration).

What do you think?

from mbt.

bashiransari avatar bashiransari commented on August 29, 2024

I think it’s better to have run-in model consistent with build command.
Is there any fundumental difference between build and run-in ?
If no, I wolud say this tool (mbt) is mono repo task runner tool instead of mono repo build tool abd build is just one of the tasks (it’s the default task and you don’t need to use run-in for it just like npm start)
Also it would be good if can change run-in to run just to make it easier to type and remember

from mbt.

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.