]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Remove angular build progress logs during cmake 23115/head
authorTiago Melo <tspmelo@gmail.com>
Wed, 18 Jul 2018 14:11:40 +0000 (16:11 +0200)
committerTiago Melo <tspmelo@gmail.com>
Mon, 23 Jul 2018 10:20:04 +0000 (11:20 +0100)
Currently Angular CLI is polluting the jenkins logs, by inserting a new line
each time the build process is updated.
With this change Angular CLI will only output the necessary information about
the start and end of the build.

Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/CMakeLists.txt

index 7aa8b481e60571e9d107af8b8fe77bef81961618..239af838de8ae41e563c86c570277fc49ae53084 100644 (file)
@@ -76,9 +76,9 @@ file(
   frontend/src/*/*/*/*/*/*.html)
 
 if(NOT CMAKE_BUILD_TYPE STREQUAL Debug)
-  set(npm_command npm run build -- --prod)
+  set(npm_command npm run build -- --prod --progress=false)
 else()
-  set(npm_command npm run build)
+  set(npm_command npm run build -- --progress=false)
 endif()
 
 add_npm_command(