1
1
workspace (name = "ecsact_rt_entt" )
2
2
3
- load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
3
+ load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" , "http_file" )
4
4
5
5
http_archive (
6
6
name = "com_github_skypjack_entt" ,
@@ -10,31 +10,48 @@ http_archive(
10
10
)
11
11
12
12
http_archive (
13
- name = "rules_ecsact " ,
14
- sha256 = "c170cebbee0af5bf9a26e9d038aa32e3c164aa8cc7f2d4f3996e19bf3510dd0f " ,
15
- strip_prefix = "rules_ecsact -0.2.3 " ,
16
- url = "https://github.com/ecsact-dev/rules_ecsact /archive/refs/tags/0.2.3 .tar.gz" ,
13
+ name = "ecsact_lang_cpp " ,
14
+ sha256 = "7ecf1d23fba53edfa5abf75498028b03068970a044eab3c703bd74b1edb0b2d5 " ,
15
+ strip_prefix = "ecsact_lang_cpp -0.2.0 " ,
16
+ urls = [ "https://github.com/ecsact-dev/ecsact_lang_cpp /archive/refs/tags/0.2.0 .tar.gz" ] ,
17
17
)
18
18
19
19
http_archive (
20
- name = "ecsact_lang_cpp" ,
21
- sha256 = "2fa208f81a8422f8bce9ed7200fa726622b77af7c8e08fdae4fa723d2e8fc163" ,
22
- strip_prefix = "ecsact_lang_cpp-3b70f5d276a4b29c709c687295d36ab804042e1a" ,
23
- url = "https://github.com/ecsact-dev/ecsact_lang_cpp/archive/3b70f5d276a4b29c709c687295d36ab804042e1a.zip" ,
20
+ name = "ecsact_runtime" ,
21
+ sha256 = "dfc71e519d24b943c855d288d19f539fc9b9c65636c0376c7febb865233161b6" ,
22
+ strip_prefix = "ecsact_runtime-0.2.0" ,
23
+ urls = ["https://github.com/ecsact-dev/ecsact_runtime/archive/refs/tags/0.2.0.tar.gz" ],
24
+ )
25
+
26
+ http_file (
27
+ name = "ecsact_cli_windows" ,
28
+ url = "https://github.com/ecsact-dev/ecsact_cli/releases/download/0.1.0/ecsact_0.1.0_windows_x64.exe" ,
29
+ executable = True ,
30
+ downloaded_file_path = "ecsact.exe" ,
31
+ )
32
+
33
+ http_file (
34
+ name = "ecsact_cli_linux" ,
35
+ url = "https://github.com/ecsact-dev/ecsact_cli/releases/download/0.1.0/ecsact_0.1.0_linux_x64" ,
36
+ executable = True ,
37
+ downloaded_file_path = "ecsact" ,
24
38
)
25
39
26
40
http_archive (
27
- name = "ecsact_runtime " ,
28
- sha256 = "ba5b8f1649fc86b9c803ab852d0612e2d100a64e2a06a13b612e111bf8d18735 " ,
29
- strip_prefix = "ecsact_runtime-c6cdc81000bbee028a8e7a2bc95fc35711db1b75 " ,
30
- url = "https://github.com/ecsact-dev/ecsact_runtime /archive/c6cdc81000bbee028a8e7a2bc95fc35711db1b75.zip" ,
41
+ name = "rules_ecsact " ,
42
+ sha256 = "3db6d498a681e036dabdcc1bb7e5ee254acadae4ab2ecf19d253f824db88d5e4 " ,
43
+ strip_prefix = "rules_ecsact-0.3.0 " ,
44
+ urls = [ "https://github.com/ecsact-dev/rules_ecsact /archive/refs/tags/0.3.0.tar.gz" ] ,
31
45
)
32
46
33
- load ("@rules_ecsact//ecsact:repositories.bzl" , "ecsact_register_toolchains" , " rules_ecsact_dependencies" )
47
+ load ("@rules_ecsact//ecsact:repositories.bzl" , "rules_ecsact_dependencies" )
34
48
35
49
rules_ecsact_dependencies ()
36
50
37
- ecsact_register_toolchains ()
51
+ register_toolchains (
52
+ "//:ecsact_windows_toolchain" ,
53
+ "//:ecsact_linux_toolchain" ,
54
+ )
38
55
39
56
http_archive (
40
57
name = "com_google_googletest" ,
0 commit comments