From ccd5468d7e80b17294874f218c7b13e371f7c96e Mon Sep 17 00:00:00 2001 From: pkupczyk <piotr.kupczyk@id.ethz.ch> Date: Tue, 25 Aug 2020 14:28:37 +0200 Subject: [PATCH] NG_UI : add 'test' gradle task as an alias for 'npm_run_test' to be consistent with other projects and to be able to easily exclude the tests from the build via './gradlew build -x test' --- openbis_ng_ui/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openbis_ng_ui/build.gradle b/openbis_ng_ui/build.gradle index 65027f214ce..e42b1e0fb66 100644 --- a/openbis_ng_ui/build.gradle +++ b/openbis_ng_ui/build.gradle @@ -40,8 +40,12 @@ task copyWebApp(type: Copy) { into file('build/core-plugins/openbis-ng-ui/1/as/webapps/openbis-ng-ui/html') } +task test { + dependsOn npm_run_test +} + npm_run_build.dependsOn cleanBuild copyCorePlugins.dependsOn npm_run_build copyWebApp.dependsOn copyCorePlugins build.dependsOn copyWebApp -build.dependsOn npm_run_test \ No newline at end of file +build.dependsOn test \ No newline at end of file -- GitLab