Giter Site home page Giter Site logo

Comments (8)

cryptiklemur avatar cryptiklemur commented on July 28, 2024

Those two arent supposed to be used for running your own composer install. Those are for installing third party blocks for bldr.

from bldr.

lastzero avatar lastzero commented on July 28, 2024

But right now they uninstall existing project dependencies without asking. Are you sure, this is what you want?

from bldr.

cryptiklemur avatar cryptiklemur commented on July 28, 2024

Its not actually bldr code: https://github.com/bldr-io/bldr/blob/master/src/Application.php#L118

Its embedded composer

from bldr.

lastzero avatar lastzero commented on July 28, 2024

Maybe you want to rename the arguments to install-blocks and update-blocks then, as a quick fix? We're using Bldr as a task runner / automation tool. If bin/bldr build works and executes a project build, any sane person would expect bin/bldr update to execute a project update!? (Most devs don't read the docs, when they are in a hurry.)

from bldr.

cryptiklemur avatar cryptiklemur commented on July 28, 2024

I can't change that command. It's not my command to change.

And i have to disagree. A developer should know what executable they are executing.

from bldr.

lastzero avatar lastzero commented on July 28, 2024

I understand, but it worries me a bit. Bldr seems like a hack to me now. Bldr is not just a random executable, but a configurable task runner. Nothing you want to be surprised of. Think of Murphy’s Law.

from bldr.

k-k avatar k-k commented on July 28, 2024

@aequasi You can change the command names. The argument you pass to the constructor on those commands sets the prefix for the command name, which you're setting as empty ('').

Maybe blocks-install and blocks-update would be a good compromise.

from bldr.

lastzero avatar lastzero commented on July 28, 2024

While all build profiles work without using "run", update still doesn't work as expected:

# bin/bldr update

  [Symfony\Component\Console\Exception\CommandNotFoundException]  
  Command "run" is not defined.                                   

Might be due to

$nonContainerCommands = ['install', 'update', 'dumpautoload', 'help'];

in src/Application.php?

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.