From 4868b044c2957ecf26b2fdaa84bb321c05fd7b21 Mon Sep 17 00:00:00 2001 From: pkupczyk <piotr.kupczyk@id.ethz.ch> Date: Thu, 25 Jan 2024 16:30:20 +0100 Subject: [PATCH] SSDM-14283 : V3 API TS: automated tests for auto-generated TypeScript definition file (d.ts) - fix the build --- test-api-openbis-javascript/build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test-api-openbis-javascript/build.gradle b/test-api-openbis-javascript/build.gradle index 0abdedd8172..b0c70d0f9de 100644 --- a/test-api-openbis-javascript/build.gradle +++ b/test-api-openbis-javascript/build.gradle @@ -111,9 +111,10 @@ task copyTypeScriptDTS(type: Copy, dependsOn: [':api-openbis-typescript:generate into file('servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/lib/openbis/') } -task compileTypeScript(type: Exec, dependsOn: copyTypeScriptDTS) { +task compileTypeScript(type: NpxTask, dependsOn: copyTypeScriptDTS) { dependsOn 'npmInstall' - commandLine 'bash', '-c', "npx tsc --build servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/tsconfig.json" + command = 'tsc' + args = ['--build', 'servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/tsconfig.json'] } test { -- GitLab