GithubHelp home page GithubHelp logo

devcontainers-community / features-bazel Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 21 KB

๐Ÿ’š Installs Bazelisk and Buildifier

License: MIT License

Shell 100.00%
bazel bazelisk build-tool buildifier devcontainer-feature devcontainers

features-bazel's Introduction

Bazel Dev Container Feature

๐Ÿ’š Installs Bazel tooling

{Fast, Correct} - Choose two

Build and test software of any size, quickly and reliably.

  • Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
  • One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
  • Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
  • Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.

โ€” bazelbuild/bazel: a fast, scalable, multi-language and extensible build system

This Feature installs Bazel using Bazelisk. Then, it symlinks /usr/local/bin/bazel to the Bazelisk installation so that you can use bazel as normal through bazelisk. The main feature of Bazelisk is that it automatically uses the correct Bazel version based on things like $USE_BAZEL_VERSION, .bazeliskrc, .bazelversion, and more. This feature also installs the Bazel VS Code extension. Oh, and it also installs Buildifier for your convenience. ๐Ÿ˜‰

Usage

Codespaces Devcontainers

// devcontainer.json
"features": {
  "ghcr.io/devcontainers-community/features/bazel": {}
}

โ“ Don't know what this โ˜ means? Check out this VS Code blog post.

Options

You can specify a bazelisk_version and a buildifier_version to pin each of the tools like this:

// devcontainer.json
"features": {
  "ghcr.io/devcontainers-community/features/bazel": {
    "bazelisk_version": "v1.17.0",
    "buildifier_version": "v6.1.2"
  }
}

features-bazel's People

Contributors

jcbhmr avatar mering avatar

Stargazers

 avatar

Watchers

 avatar

features-bazel's Issues

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.