Giter Site home page Giter Site logo

Add profile inheritance about bldr HOT 6 CLOSED

bldr-io avatar bldr-io commented on July 28, 2024
Add profile inheritance

from bldr.

Comments (6)

aequasi avatar aequasi commented on July 28, 2024

Totally agree....

bldr:
    profiles:
        test:
            calls:
                - testCall
        sample:
            parent: test
            calls:
                - sampleCall

Does that syntax work? Shouldn't be too hard to implement. I can try to knock that out later today if you like the syntax

from bldr.

wouterj avatar wouterj commented on July 28, 2024

Well, "parent" might be not describing enough (it's not really a parent child relation) what about renaming it with "extends" or "uses" (uses would accept mean we can accept multiple profiles)?

from bldr.

aequasi avatar aequasi commented on July 28, 2024

would you be against extends with multiple items? I know php doesn't have multiple inheritance with extend, but other languages do

from bldr.

wouterj avatar wouterj commented on July 28, 2024

Why I prefer bldr over the more popular tasks runners is because it's in PHP, it's familair for me. I see extends as something which can be done with only one item, since I know that from PHP (and a bit from JAVA). For me, uses relates to PHP traits, which can combine multiple items.

from bldr.

aequasi avatar aequasi commented on July 28, 2024

Alrighty. Ill try and add uses in tonight. I should be able to minor bump tonight with these recent changes

from bldr.

aequasi avatar aequasi commented on July 28, 2024

#96

from bldr.

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.