File tree Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,11 @@ ecsact_build_recipe(
20
20
},
21
21
exports = [
22
22
"ecsact_execute_systems" ,
23
+ "ecsact_create_registry" ,
23
24
],
24
25
imports = [
25
26
"ecsact_system_execution_context_get" ,
27
+ "ecsact_system_execution_context_action" ,
26
28
],
27
29
)
28
30
Original file line number Diff line number Diff line change 3
3
4
4
#include " local_dep.hh"
5
5
6
+ ecsact_registry_id ecsact_create_registry ( //
7
+ const char *
8
+ ) {
9
+ return ecsact_invalid_registry_id;
10
+ }
11
+
6
12
ecsact_execute_systems_error ecsact_execute_systems ( //
7
13
ecsact_registry_id,
8
14
int ,
@@ -13,5 +19,6 @@ ecsact_execute_systems_error ecsact_execute_systems( //
13
19
// This is an incorrect way to use this function, but this test is only caring
14
20
// about the import
15
21
ecsact_system_execution_context_get (nullptr , {}, nullptr );
22
+ ecsact_system_execution_context_action (nullptr , nullptr );
16
23
return ECSACT_EXEC_SYS_OK;
17
24
}
Original file line number Diff line number Diff line change
1
+ name : Example Recipe
2
+
3
+ sources :
4
+ - ecsact_build_test.cc
5
+ - local_dep.cc
6
+ - local_dep.hh
7
+
8
+ exports :
9
+ - ecsact_execute_systems
10
+ - ecsact_create_registry
11
+
12
+ imports :
13
+ - ecsact_system_execution_context_get
14
+ - ecsact_system_execution_context_action
Original file line number Diff line number Diff line change 1
1
let dir = $env .FILE_PWD ;
2
2
let ecsact_file = $dir + ' /test.ecsact' ;
3
- let recipe_file = $dir + ' /ecsact_build_test_recipe .yml' ;
3
+ let recipe_file = $dir + ' /example-recipe .yml' ;
4
4
let output_file = $dir + ' /tmp/test' ;
5
5
let temp_dir = $dir + ' /tmp' ;
6
6
7
- bazel run @ecsact_cli - - build $ecsact_file - r $recipe_file - o $output_file -- temp_dir $temp_dir - f text
7
+ # bazel run @ecsact_cli -- build $ecsact_file -r $recipe_file -o $output_file --temp_dir $temp_dir -f text
8
+ ecsact build $ecsact_file - r $recipe_file - o $output_file -- temp_dir $temp_dir - f text
You can’t perform that action at this time.
0 commit comments