Skip to content

Commit a306339

Browse files
authored
Refactor tests location (#11)
1 parent 5b87ff4 commit a306339

File tree

6 files changed

+8
-24
lines changed

6 files changed

+8
-24
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ module(
99
# -------------------------------------------------------------------
1010

1111
bazel_dep(name = "stackb_rules_closure", version = "1.0.0")
12+
bazel_dep(name = "rules_shell", version = "0.6.1", dev_dependency = True)
1213

1314
# -------------------------------------------------------------------
1415
# Dev Dependencies
1516
# -------------------------------------------------------------------
1617

1718
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2", dev_dependency = True)
18-
bazel_dep(name = "rules_shell", version = "0.6.1", dev_dependency = True)
1919

2020
# -------------------------------------------------------------------
2121
# Overrides

WORKSPACE

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +0,0 @@
1-
workspace(name = "com_github_stackb_ui_js")
2-
3-
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4-
5-
# ================================================================
6-
7-
http_archive(
8-
name = "stackb_rules_closure",
9-
sha256 = "bdb00831682cd0923df36e19b01619b8230896d582f16304a937d8dc8270b1b6",
10-
strip_prefix = "rules_closure-ad75d7cc1cff0e845cd83683881915d995bd75b2",
11-
urls = ["https://github.com/bazelbuild/rules_closure/archive/ad75d7cc1cff0e845cd83683881915d995bd75b2.tar.gz"],
12-
)
13-
14-
load("@stackb_rules_closure//closure:defs.bzl", "closure_repositories")
15-
16-
closure_repositories()

css/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@stackb_rules_closure//closure:defs.bzl", "closure_css_library")
33
package(default_visibility = ["//visibility:public"])
44

55
closure_css_library(
6-
name = "style",
6+
name = "css",
77
srcs = [
88
"goog.css",
99
],

js/ui/BUILD.bazel

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
load("@stackb_rules_closure//closure:defs.bzl", "closure_js_library", "closure_js_test")
2-
load("@rules_shell//shell:sh_test.bzl", "sh_test")
32

43
package(default_visibility = ["//visibility:public"])
54

@@ -184,8 +183,3 @@ closure_js_test(
184183
"@stackb_rules_closure//closure/library:testing",
185184
],
186185
)
187-
188-
sh_test(
189-
name = "tests",
190-
srcs = ["tests.sh"],
191-
)

tests/BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
load("@rules_shell//shell:sh_test.bzl", "sh_test")
2+
3+
sh_test(
4+
name = "tests",
5+
srcs = ["tests.sh"],
6+
)
File renamed without changes.

0 commit comments

Comments
 (0)