Move compile_sass.bzl to /ts + Remove core.css from data/web (unused?)

This commit is contained in:
Henrik Giesel 2021-04-13 17:24:06 +02:00
parent ffd159f9a0
commit a76f1d64ad
3 changed files with 2 additions and 19 deletions

View File

@ -1,6 +1,6 @@
load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
load("//ts:copy.bzl", "copy_files_into_group")
load("compile_sass.bzl", "compile_sass")
load("//ts:compile_sass.bzl", "compile_sass")
compile_sass(
srcs = glob(
@ -17,12 +17,6 @@ compile_sass(
visibility = ["//visibility:private"],
)
copy_file(
name = "core_css",
src = "//ts/sass:core.css",
out = "core.css",
)
copy_files_into_group(
name = "editor",
srcs = [
@ -35,7 +29,6 @@ copy_files_into_group(
filegroup(
name = "css",
srcs = [
"core.css",
"css_local",
"editor",
],

View File

@ -1,13 +1,4 @@
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary", "sass_library")
sass_binary(
name = "core_css",
src = "core.scss",
visibility = ["//visibility:public"],
deps = [
":core_lib",
],
)
load("@io_bazel_rules_sass//:defs.bzl", "sass_library")
sass_library(
name = "buttons_lib",
@ -18,7 +9,6 @@ sass_library(
visibility = ["//visibility:public"],
)
sass_library(
name = "card_counts_lib",
srcs = [