Skip to content

Commit

Permalink
Merge pull request #10357 from dlorenc/bazelisk
Browse files Browse the repository at this point in the history
Add bazelisk package.
  • Loading branch information
dlorenc authored Dec 23, 2023
2 parents 5d0db14 + e038daa commit c33869f
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions bazelisk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
package:
name: bazelisk
version: 1.19.0
epoch: 0
description: A user-friendly launcher for Bazel.
copyright:
- license: Apache-2.0
dependencies:
runtime:
- ca-certificates-bundle

environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go

pipeline:
- uses: git-checkout
with:
repository: https://github.com/bazelbuild/bazelisk
expected-commit: c7c6c19799ff408c48bdce6b7557217ad0050b17
tag: v${{package.version}}

- uses: go/build
with:
packages: .
output: bazelisk

- uses: strip

subpackages:
- name: bazelisk-default
pipeline:
- runs: |
# Configure bazelisk as bazel
mkdir -p ${{targets.subpkgdir}}/usr/bin/
ln -sf /usr/bin/bazelisk ${{targets.subpkgdir}}/usr/bin/bazel
dependencies:
runtime:
- bazelisk

update:
enabled: true
github:
identifier: bazelbuild/bazelisk
strip-prefix: v

0 comments on commit c33869f

Please sign in to comment.