Comments (3)
We can surely create an installer for Bazelisk, but it's a single binary with no dependencies that you can put anywhere, so do we really need one? Maybe we could instead add a one-liner to the README.md on how to install it, something like:
To install Bazelisk on Linux or macOS, just download and put it into /usr/local/bin:
$ curl -O /usr/local/bin/bazelisk https://github.com/philwo/bazelisk/releases/download/v0.0.1/bazelisk-darwin-amd64 && chmod +x /usr/local/bin/bazelisk
You can also put it anywhere else on your PATH, for example another popular location is
$HOME/bin
.
The Homebrew repo has the advantage of making auto-upgrading and deploying it to multiple machines easier (not specific to Homebrew, any package manager would), which is something that wouldn't be addressed by a standalone installer.
from bazelisk.
We actually have a Homebrew formula for Bazelisk: https://github.com/bazelbuild/homebrew-tap/blob/master/Formula/bazelisk.rb
from bazelisk.
I have a more involved shell script doing essentially what @philwo describes above in https://github.com/philwo/bazelisk/issues/37 (just mentioning it here before I close that issue)
from bazelisk.
Related Issues (20)
- Bazelisk is failing at Bazel@HEAD
- `last_rc` was returning a 6.3.2 release candidate even though 6.3.2 was released HOT 2
- `MODULE.bazel` and `REPO.bazel` are not supported
- Server crashed during startup. while parsing option --digest_function=BLAKE3: Not a valid hash function HOT 2
- Go Bazelisk Binary Does Not Respect "arch --arch arm64"
- Use of --credential_helper flag causes Bazelisk to exit with code 37 HOT 3
- 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
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.