Skip to content

Commit 2fb7f19

Browse files
authored
feat: add build recipe and tests (#100)
1 parent c47f093 commit 2fb7f19

File tree

14 files changed

+1094
-327
lines changed

14 files changed

+1094
-327
lines changed

BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ cc_library(
1313
hdrs = glob(["ecsact/**/*.hh"]),
1414
copts = copts,
1515
)
16+
17+
exports_files(["build_recipe.yml"])

MODULE.bazel

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ bazel_dep(name = "ecsact_lang_cpp", version = "0.4.1")
1212
bazel_dep(name = "boost.mp11", version = "1.83.0.bzl.1")
1313
bazel_dep(name = "entt", version = "3.12.2")
1414
bazel_dep(name = "ecsact_codegen", version = "0.2.0")
15-
bazel_dep(name = "ecsact_cli", version = "0.3.4")
15+
bazel_dep(name = "ecsact_cli", version = "0.3.6")
1616
bazel_dep(name = "xxhash", version = "0.8.2")
17+
bazel_dep(name = "googletest", version = "1.14.0")
1718

1819
bazel_dep(name = "toolchains_llvm", version = "1.0.0", dev_dependency = True)
1920
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
@@ -23,6 +24,13 @@ git_override(
2324
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
2425
)
2526

27+
# TODO: https://github.com/bazelbuild/bazel-central-registry/pull/1916
28+
git_override(
29+
module_name = "libarchive",
30+
commit = "7c331f92acea5243c195cdc6fb46ecfa11ce1ce2",
31+
remote = "https://github.com/zaucy/libarchive.git",
32+
)
33+
2634
llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm", dev_dependency = True)
2735
llvm.toolchain(llvm_version = "17.0.6")
2836
use_repo(llvm, "llvm_toolchain")

0 commit comments

Comments
 (0)