Releases: GZGavinZhao/gzgz_rules_sass
Releases · GZGavinZhao/gzgz_rules_sass
v1.0.4
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "gzgz_rules_sass", version = "1.0.4")
sass = use_extension("@gzgz_rules_sass//sass:extensions.bzl", "sass")
sass.toolchain(sass_version = "1.63.6") # Or any other version you like
use_repo(sass, "sass_toolchains")
register_toolchains("@sass_toolchains//:all")
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "gzgz_rules_sass",
sha256 = "e3f515fbb595d8fd87e4e060aa97baeb37b5f678a5c47dec1a12d8d0873ad40a",
strip_prefix = "gzgz_rules_sass-1.0.4",
url = "https://github.com/GZGavinZhao/gzgz_rules_sass/releases/download/v1.0.4/gzgz_rules_sass-v1.0.4.tar.gz",
)
######################
# gzgz_rules_sass setup #
######################
# Fetches the dependencies for gzgz_rules_sass.
# 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 all the dependencies.
load("@gzgz_rules_sass//sass:repositories.bzl", "gzgz_rules_sass_dependencies", "sass_register_toolchains")
gzgz_rules_sass_dependencies()
sass_register_toolchains(
name = "dart_sass",
sass_version = "1.86.3", # Or any other version you like
)
What's Changed
- bug: declare toolchain deps as inputs for SassMultiCompile action by @chowder in #16
- chore: update deprecated platform target by @chowder in #17
New Contributors
Full Changelog: v1.0.3...v1.0.4
v1.0.3
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "gzgz_rules_sass", version = "1.0.3")
sass = use_extension("@gzgz_rules_sass//sass:extensions.bzl", "sass")
sass.toolchain(sass_version = "1.63.6") # Or any other version you like
use_repo(sass, "sass_toolchains")
register_toolchains("@sass_toolchains//:all")
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "gzgz_rules_sass",
sha256 = "f84898640c08b3437d3911b5bb676b9b93b5c3822a18cf76fd2df581e912d518",
strip_prefix = "gzgz_rules_sass-1.0.3",
url = "https://github.com/GZGavinZhao/gzgz_rules_sass/releases/download/v1.0.3/gzgz_rules_sass-v1.0.3.tar.gz",
)
######################
# gzgz_rules_sass setup #
######################
# Fetches the dependencies for gzgz_rules_sass.
# 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 all the dependencies.
load("@gzgz_rules_sass//sass:repositories.bzl", "gzgz_rules_sass_dependencies", "sass_register_toolchains")
gzgz_rules_sass_dependencies()
sass_register_toolchains(
name = "dart_sass",
sass_version = "1.86.3", # Or any other version you like
)
What's Changed
- Support Bazel 8 and test in presubmit by @sbarfurth in #11
- Update the set of available sass versions by @sbarfurth in #12
- Include rule workspace root in load paths by @sbarfurth in #10
- Load paths in priority order by @sbarfurth in #14
New Contributors
- @sbarfurth made their first contribution in #11
Full Changelog: v1.0.2...v1.0.3
v1.0.2
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "gzgz_rules_sass", version = "1.0.2")
sass = use_extension("@gzgz_rules_sass//sass:extensions.bzl", "sass")
sass.toolchain(sass_version = "1.63.6") # Or any other version you like
use_repo(sass, "sass_toolchains")
register_toolchains("@sass_toolchains//:all")
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "gzgz_rules_sass",
sha256 = "0fe67c56b857421d84480780f84199aff0e76eb524ecf79401cd764c8c60c905",
strip_prefix = "gzgz_rules_sass-1.0.2",
url = "https://github.com/GZGavinZhao/gzgz_rules_sass/releases/download/v1.0.2/gzgz_rules_sass-v1.0.2.tar.gz",
)
######################
# gzgz_rules_sass setup #
######################
# Fetches the dependencies for gzgz_rules_sass.
# 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 all the dependencies.
load("@gzgz_rules_sass//sass:repositories.bzl", "gzgz_rules_sass_dependencies", "sass_register_toolchains")
gzgz_rules_sass_dependencies()
sass_register_toolchains(
name = "dart_sass",
sass_version = "1.86.3", # Or any other version you like
)
v1.0.1
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "gzgz_rules_sass", version = "1.0.1")
sass = use_extension("@gzgz_rules_sass//sass:extensions.bzl", "sass")
sass.toolchain(sass_version = "1.63.6") # Or any other version you like
use_repo(sass, "sass_toolchains")
register_toolchains("@sass_toolchains//:all")
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "gzgz_rules_sass",
sha256 = "15a6507bd77ea29d1511cc4b08139894b6b660e4772ae693f2cbbe7f160091fc",
strip_prefix = "gzgz_rules_sass-1.0.1",
url = "https://github.com/GZGavinZhao/gzgz_rules_sass/releases/download/v1.0.1/gzgz_rules_sass-v1.0.1.tar.gz",
)
######################
# gzgz_rules_sass setup #
######################
# Fetches the dependencies for gzgz_rules_sass.
# 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 all the dependencies.
load("@gzgz_rules_sass//sass:repositories.bzl", "gzgz_rules_sass_dependencies", "sass_register_toolchains")
gzgz_rules_sass_dependencies()
sass_register_toolchains(
name = "dart_sass",
sass_version = "1.83.4", # Or any other version you like
)
What's Changed
- bug: explicitly declare sass tool dependencies by @synaptor in #2
- chore: bump sass versions by @GZGavinZhao in #3
- fix: revert limit on the dependencies of sass by @GZGavinZhao in #4
New Contributors
- @synaptor made their first contribution in #2
- @GZGavinZhao made their first contribution in #3
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "gzgz_rules_sass", version = "1.0.0")
sass = use_extension("@gzgz_rules_sass//sass:extensions.bzl", "sass")
sass.toolchain(sass_version = "1.63.6") # Or any version you like
use_repo(sass, "sass_toolchains")
register_toolchains("@sass_toolchains//:all")
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "gzgz_rules_sass",
sha256 = "77d5333b66b419d64c54b1dac56b41864f457c04103f66bd7922db450ee9dfdf",
strip_prefix = "gzgz_rules_sass-1.0.0",
url = "https://github.com/GZGavinZhao/gzgz_rules_sass/releases/download/v1.0.0/gzgz_rules_sass-v1.0.0.tar.gz",
)
######################
# gzgz_rules_sass setup #
######################
# Fetches the dependencies for gzgz_rules_sass.
# 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 all the dependencies.
load("@gzgz_rules_sass//sass:repositories.bzl", "gzgz_rules_sass_dependencies", "sass_register_toolchains")
gzgz_rules_sass_dependencies()
sass_register_toolchains(
name = "dart_sass",
sass_version = "1.63.6", # Or any other version you like
)
Full Changelog: https://github.com/GZGavinZhao/gzgz_rules_sass/commits/v1.0.0