Skip to content

Commit

Permalink
bazel(sut): add json1 to gotags
Browse files Browse the repository at this point in the history
  • Loading branch information
symbiont-stevan-andjelkovic committed Jan 29, 2021
1 parent 8ec5a1c commit 3540925
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/cli/cmd/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ go_library(
"db.go",
"debug.go",
"generator.go",
"logger.go",
"root.go",
"scheduler.go",
"utils.go",
"versions.go",
],
importpath = "github.com/symbiont-io/detsys-testkit/src/cli/cmd",
Expand Down
6 changes: 4 additions & 2 deletions src/lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ buildGoModule rec {
vendorSha256 = "1dq4w81g3s26chpfqad3mqpybg4900646h2b2k6xsz295ds9qk7q";

postInstall = ''
mkdir -p $out
cp -R $src $out/src
mkdir -p $out/src
# Don't copy over bazel build file, or bazel will try to build that
# directory.
cp $(ls $src | grep -v BUILD.bazel) $out/src
'';
}
1 change: 1 addition & 0 deletions src/sut/broadcast/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ go_test(
name = "broadcast_test",
srcs = ["broadcast_test.go"],
embed = [":broadcast"],
gotags = ["json1"],
deps = [
"//src/executor",
"//src/lib",
Expand Down
1 change: 1 addition & 0 deletions src/sut/register/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ go_test(
name = "register_test",
srcs = ["example_test.go"],
embed = [":register"],
gotags = ["json1"],
deps = [
"//src/executor",
"//src/lib",
Expand Down

0 comments on commit 3540925

Please sign in to comment.