{"id":15463750,"url":"https://github.com/cbracken/rules_dart","last_synced_at":"2025-08-03T08:11:29.437Z","repository":{"id":9237326,"uuid":"61334714","full_name":"cbracken/rules_dart","owner":"cbracken","description":"Dart rules for Bazel","archived":false,"fork":false,"pushed_at":"2024-01-09T20:02:34.000Z","size":145,"stargazers_count":48,"open_issues_count":15,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-03T02:18:48.366Z","etag":null,"topics":["bazel","bazel-rules","dart"],"latest_commit_sha":null,"homepage":null,"language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbracken.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-17T00:32:09.000Z","updated_at":"2024-12-14T15:52:43.000Z","dependencies_parsed_at":"2024-11-08T17:00:49.826Z","dependency_job_id":"2ac006f3-d2ba-49b8-b41c-961b45ff54e6","html_url":"https://github.com/cbracken/rules_dart","commit_stats":{"total_commits":115,"total_committers":4,"mean_commits":28.75,"dds":"0.034782608695652195","last_synced_commit":"8a4eaa0f67abed92c46f96ef5ad33dd62721eccc"},"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"purl":"pkg:github/cbracken/rules_dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbracken%2Frules_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbracken%2Frules_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbracken%2Frules_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbracken%2Frules_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbracken","download_url":"https://codeload.github.com/cbracken/rules_dart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbracken%2Frules_dart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268512159,"owners_count":24261887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bazel","bazel-rules","dart"],"created_at":"2024-10-02T00:23:32.436Z","updated_at":"2025-08-03T08:11:29.408Z","avatar_url":"https://github.com/cbracken.png","language":"Starlark","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dart rules for Bazel\n====================\n\n![Build Status](https://github.com/cbracken/rules_dart/actions/workflows/build.yml/badge.svg)\n\n**WARNING:** These rules are maintained on an infrequent basis. They were\nauthored as the foundation for what became the\n[dart-lang/rules\\_dart](https://github.com/dart-lang/rules_dart) repo which was\nlater deprecated and archived.\n\nOverview\n--------\n\nThese build rules are used for building [Dart](https://dartlang.org) projects\nwith [Bazel](https://bazel.build).\n\nSetup\n-----\n\nTo use the Dart rules, add the following to your `WORKSPACE` file to add the\nexternal repositories for the Dart toolchain:\n\n```python\nload(\"@bazel_tools//tools/build_defs/repo:git.bzl\", \"git_repository\")\n\ngit_repository(\n    name = \"io_bazel_rules_dart\",\n    remote = \"https://github.com/cbracken/rules_dart.git\",\n    tag = \"2.17.7\",\n)\nload(\"@io_bazel_rules_dart//dart/build_rules:repositories.bzl\", \"dart_repositories\")\n\ndart_repositories()\n```\n\nCore rules\n----------\n\n```\nload(\"@io_bazel_rules_dart//dart/build_rules:core.bzl\", RULE_NAME)\n```\n\n`dart_library`: Declares a collection of Dart sources and data and their\ndependencies.\n\n\nVM rules\n--------\n\n```\nload(\"@io_bazel_rules_dart//dart/build_rules:vm.bzl\", RULE_NAME)\n```\n\n`dart_vm_binary`: Builds an executable bundle that runs a script or snapshot on\nthe Dart VM.\n\n`dart_vm_snapshot`: Builds a VM snapshot of a Dart script. **WARNING** Snapshot\nfiles are *not* guaranteed to be compatible across VM releases.\n\n`dart_vm_test`: Builds a test that will be executed on the Dart VM.\n\n\nWeb rules\n---------\n\n```\nload(\"@io_bazel_rules_dart//dart/build_rules:web.bzl\", RULE_NAME)\n```\n\n`dart_web_application`: Compiles the specified script to JavaScript.\n\n`dart_web_test`: Builds a test that will be executed in the browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbracken%2Frules_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbracken%2Frules_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbracken%2Frules_dart/lists"}