Comments (7)
I assume the go version will be the one to stick around, but FWIW I don't think the go build
solution should be recommended since we probably shouldn't assume that everyone will have a go environment setup. But at least curling the binary shouldn't be a large effort for installation.
from bazelisk.
$ go build github.com/bazelbuild/bazelisk && bazelisk build ...
is a really nice user experience.
from bazelisk.
I hope I'm not overstepping my boundaries, but if it were me, I'd be more inclined to keep the Python version, as I believe one could then more easily store Bazelisk in source control (similarly to Gradle Wrapper for Gradle) and it would take considerably less space than compiled Go binaries. But I'd love to be challenged on this. :)
from bazelisk.
Ah cool! I suppose it goes to show how little experience I have with Go. 😉
from bazelisk.
But at least curling the binary shouldn't be a large effort for installation.
Sounds sensible to me! But I think it would be helpful if Bazelisk provided this script in a similar fashion to Gradle Wrapper (one script for *nix, another for Windows?), since for me at least it wasn't obvious that I could do this. :)
from bazelisk.
See also #84
from bazelisk.
I don't have the go toolchain installed, but the go version allows the ability to wget
a single binary to get up and running, whereas the python version requires having a properly configured and supported python toolchain. Especially when using bazelisk in environments like docker where the python toolchain might not exist (or is later in the dockerfile), the ability to just use a single binary file as a distribution mechanism is really good.
+1 for the go version being the canonical version, should bazelisk choose to consolidate the versions.
from bazelisk.
Related Issues (20)
- Bazelisk run doesn't propagate signals to the child process
- Bazelisk 1.18 doesn't handle WORKSPACE-less repositories HOT 3
- Bazelisk does not print its version anymore in `1.18.0` when calling `bazelisk version` HOT 2
- py_bazelisk_test & py3_bazelisk_test is failing with Bazel@HEAD HOT 2
- Support BAZELISK_VERIFY_SHA256 for multiplatform projects HOT 1
- .bazelversion not being read in parent directory outside of WORKSPACE HOT 2
- Bazelisk is failing with "httputil:go_default_test" at Bazel@HEAD HOT 2
- `latest-1` is resolved as 7.0.0 instead of 6.4.0 HOT 1
- could not download Bazel when I want to execute the command:bazel build onos HOT 9
- bazelisk run/test hide segmentation violations
- Error loading package under directory error with Bazel@HEAD in CI HOT 6
- How to avoid bazel installation? HOT 6
- Could not download Bazel - bad file descriptor HOT 1
- caoky HOT 1
- Use cached executable if no network available
- Steps for installing Bazelisk are not new-developer friendly HOT 2
- Bazelisk pulls incorrect Bazel on Windows ARM64 HOT 2
- bazel version 6.5.0 install issue HOT 3
- Add an automatic workflow to update winget pkgs HOT 1
- Support `Tools/` in case-sensitive file systems HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazelisk.