Skip to content

Instantly share code, notes, and snippets.

@mishudark
Created January 16, 2019 10:14
Show Gist options
  • Save mishudark/38a50a006d3ae32f5605800b2c14c67c to your computer and use it in GitHub Desktop.
Save mishudark/38a50a006d3ae32f5605800b2c14c67c to your computer and use it in GitHub Desktop.
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
local_repository(
name = "fuchsia_sdk",
path = "./",
)
load("@fuchsia_sdk//build_defs:fuchsia_setup.bzl", "fuchsia_setup")
fuchsia_setup(with_toolchain = True)
http_archive(
name = "io_bazel_rules_dart",
url = "https://github.com/dart-lang/rules_dart/archive/master.zip",
strip_prefix = "rules_dart-master",
)
load("@io_bazel_rules_dart//dart/build_rules:repositories.bzl", "dart_repositories")
dart_repositories()
load("@fuchsia_sdk//build_defs:setup_dart.bzl", "setup_dart")
setup_dart()
load("@fuchsia_sdk//build_defs:setup_flutter.bzl", "setup_flutter")
setup_flutter()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment