Skip to content

Commit 8caaede

Browse files
committed
chore: update build-test-components
1 parent 8d1f546 commit 8caaede

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Makefile.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,20 @@ cm_run_task copy-release-artifacts --portable
120120

121121
[tasks.build-test-components]
122122
description = "Builds all test components with golem-cli"
123-
run_task = { name = ["llm-build-test-components"] }
123+
script_runner = "@shell"
124+
script = '''
125+
domains=(llm)
126+
127+
# if there is no domain passed run for every domain
128+
if [ -z $1 ]; then
129+
for domain in ${domains[@]};
130+
do
131+
cargo make --cwd $domain build-test-components;
132+
done
133+
else
134+
cargo make --cwd $1 build-test-components
135+
fi
136+
'''
124137

125138
[tasks.copy-debug-artifacts]
126139
script_runner = "@duckscript"

0 commit comments

Comments
 (0)