From a76f1d64ad8cbb04b523c34ae93bef2958552a07 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Tue, 13 Apr 2021 17:24:06 +0200 Subject: [PATCH] Move compile_sass.bzl to /ts + Remove core.css from data/web (unused?) --- qt/aqt/data/web/css/BUILD.bazel | 9 +-------- {qt/aqt/data/web/css => ts}/compile_sass.bzl | 0 ts/sass/BUILD.bazel | 12 +----------- 3 files changed, 2 insertions(+), 19 deletions(-) rename {qt/aqt/data/web/css => ts}/compile_sass.bzl (100%) diff --git a/qt/aqt/data/web/css/BUILD.bazel b/qt/aqt/data/web/css/BUILD.bazel index b2772e3d2..e29acf7ed 100644 --- a/qt/aqt/data/web/css/BUILD.bazel +++ b/qt/aqt/data/web/css/BUILD.bazel @@ -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", ], diff --git a/qt/aqt/data/web/css/compile_sass.bzl b/ts/compile_sass.bzl similarity index 100% rename from qt/aqt/data/web/css/compile_sass.bzl rename to ts/compile_sass.bzl diff --git a/ts/sass/BUILD.bazel b/ts/sass/BUILD.bazel index fdbc177ad..0564eb324 100644 --- a/ts/sass/BUILD.bazel +++ b/ts/sass/BUILD.bazel @@ -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 = [