Coder Social home page Coder Social logo

Comments (3)

sudoforge avatar sudoforge commented on September 15, 2024

The Homebrew and NPM packages add both bazelisk and bazel, yes, but personally, I'd like to understand the use case a bit more before emulating that behavior. Could you explain what the different use cases are, if any, for having both bazel and bazelisk available in your PATH?


Also, I think it's important to differentiate between what the Homebrew and NPM packages do, and what is being suggested. Specifically, from the README:

Some ideas how to use it:

Install it as the bazel binary in your PATH (e.g. copy it to /usr/local/bin/bazel). Never worry about upgrading Bazel to the latest version again.

...

If you install Bazelisk as bazel on your CI machines, too, you can even ...

from pkgbuilds.

mothran avatar mothran commented on September 15, 2024

I just encountered this issue and I would like just add that I have encountered build systems that explicitly call bazelisk. So having both targets would be more widely compatible, it also would match the official installer script, from the README:

Each adds bazelisk to the PATH as both bazelisk and bazel.

from pkgbuilds.

sudoforge avatar sudoforge commented on September 15, 2024

I have encountered build systems that explicitly call bazelisk

This is not the intended workflow, and those build systems are probably doing something wrong. They should simply call out to bazel.

Regardless, this is such a small change and is simple to implement; I'll concede that some people may benefit from having both a bazel and bazelisk call invoke the same executable (bazelisk), and add a symlink.

from pkgbuilds.

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.