All Projects → cbracken → rules_dart

cbracken / rules_dart

Licence: Apache-2.0 license
Dart rules for Bazel

Programming Languages

Starlark
911 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to rules dart

Rules kotlin
Bazel rules for Kotlin
Stars: ✭ 235 (+571.43%)
Mutual labels:  bazel, bazel-rules
bazel-maven-proxy
A local (read-only) proxy for Bazel to access Maven resources behind a secure repository or from the local Maven repository
Stars: ✭ 22 (-37.14%)
Mutual labels:  bazel, bazel-rules
Bazel Skylib
Common useful functions and rules for Bazel
Stars: ✭ 153 (+337.14%)
Mutual labels:  bazel, bazel-rules
Rules swift
Bazel rules to build Swift on Apple and Linux platforms
Stars: ✭ 151 (+331.43%)
Mutual labels:  bazel, bazel-rules
Rules apple
Bazel rules to build apps for Apple platforms.
Stars: ✭ 217 (+520%)
Mutual labels:  bazel, bazel-rules
rules antlr
ANTLR rules for Bazel
Stars: ✭ 24 (-31.43%)
Mutual labels:  bazel, bazel-rules
Rules k8s
This repository contains rules for interacting with Kubernetes configurations / clusters.
Stars: ✭ 222 (+534.29%)
Mutual labels:  bazel, bazel-rules
Bazel Tools
Reusable bits for Bazel
Stars: ✭ 109 (+211.43%)
Mutual labels:  bazel, bazel-rules
Rules protobuf
Bazel rules for building protocol buffers and gRPC services (java, c++, go, ...)
Stars: ✭ 206 (+488.57%)
Mutual labels:  bazel, bazel-rules
Rules haskell
Haskell rules for Bazel.
Stars: ✭ 196 (+460%)
Mutual labels:  bazel, bazel-rules
Rules rust
Rust rules for Bazel
Stars: ✭ 241 (+588.57%)
Mutual labels:  bazel, bazel-rules
rules openapi
🍃 bazel rules for generating code from openapi specifications
Stars: ✭ 49 (+40%)
Mutual labels:  bazel, bazel-rules
Rules apple line
LINE's Apple rules for Bazel
Stars: ✭ 151 (+331.43%)
Mutual labels:  bazel, bazel-rules
rules proto grpc
Bazel rules for building Protobuf and gRPC code and libraries from proto_library targets
Stars: ✭ 201 (+474.29%)
Mutual labels:  bazel, bazel-rules
Dbx build tools
Dropbox's Bazel rules and tools
Stars: ✭ 119 (+240%)
Mutual labels:  bazel, bazel-rules
Rules python
Experimental Bazel Python Rules
Stars: ✭ 233 (+565.71%)
Mutual labels:  bazel, bazel-rules
Bazel Linting System
🌿💚 Experimental system for registering, configuring, and invoking source-code linters in Bazel.
Stars: ✭ 63 (+80%)
Mutual labels:  bazel, bazel-rules
Rules nixpkgs
Rules for importing Nixpkgs packages into Bazel.
Stars: ✭ 88 (+151.43%)
Mutual labels:  bazel, bazel-rules
Rules kotlin
Bazel rules for Kotlin
Stars: ✭ 162 (+362.86%)
Mutual labels:  bazel, bazel-rules
bazel-latex
Bazel build system rules for LaTeX
Stars: ✭ 67 (+91.43%)
Mutual labels:  bazel, bazel-rules

Dart rules for Bazel

Build Status

WARNING: These rules are maintained on an infrequent basis. They were authored as the foundation for what became the dart-lang/rules_dart repo which was later deprecated and archived.

Overview

These build rules are used for building Dart projects with Bazel.

Setup

To use the Dart rules, add the following to your WORKSPACE file to add the external repositories for the Dart toolchain:

load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

git_repository(
    name = "io_bazel_rules_dart",
    remote = "https://github.com/cbracken/rules_dart.git",
    tag = "2.17.7",
)
load("@io_bazel_rules_dart//dart/build_rules:repositories.bzl", "dart_repositories")

dart_repositories()

Core rules

load("@io_bazel_rules_dart//dart/build_rules:core.bzl", RULE_NAME)

dart_library: Declares a collection of Dart sources and data and their dependencies.

VM rules

load("@io_bazel_rules_dart//dart/build_rules:vm.bzl", RULE_NAME)

dart_vm_binary: Builds an executable bundle that runs a script or snapshot on the Dart VM.

dart_vm_snapshot: Builds a VM snapshot of a Dart script. WARNING Snapshot files are not guaranteed to be compatible across VM releases.

dart_vm_test: Builds a test that will be executed on the Dart VM.

Web rules

load("@io_bazel_rules_dart//dart/build_rules:web.bzl", RULE_NAME)

dart_web_application: Compiles the specified script to JavaScript.

dart_web_test: Builds a test that will be executed in the browser.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].