0.1.3 • Published 4 years ago

@ubiquitoustech/rules_nextjs v0.1.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 years ago

Template for Bazel rules

Copy this template to create a Bazel ruleset.

Features:

See https://docs.bazel.build/versions/main/skylark/deploying.html#readme

Ready to get started? Copy this repo, then

  1. search for "com_myorg_rules_mylang" and replace with the name you'll use for your workspace
  2. search for "mylang" and replace with the language/tool your rules are for
  3. rename directory "mylang" similarly
  4. run pre-commit install to get lints (see CONTRIBUTING.md)
  5. if you don't need to fetch platform-dependent tools, then remove anything toolchain-related.
  6. delete this section of the README (everything up to the SNIP).

---- SNIP ----

Bazel rules for mylang

Installation

Include this in your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "com_myorg_rules_mylang",
    url = "https://github.com/myorg/rules_mylang/releases/download/0.0.0/rules_mylang-0.0.0.tar.gz",
    sha256 = "",
)

load("@com_myorg_rules_mylang//mylang:repositories.bzl", "mylang_rules_dependencies")

# This fetches the rules_mylang dependencies, which are:
# - bazel_skylib
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched these dependencies.
rules_mylang_dependencies()

note, in the above, replace the version and sha256 with the one indicated in the release notes for rules_mylang In the future, our release automation should take care of this.

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago