]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Add dashboard node script 33121/head
authorTiago Melo <tmelo@suse.com>
Sun, 26 Apr 2020 14:16:58 +0000 (14:16 +0000)
committerTiago Melo <tmelo@suse.com>
Tue, 12 May 2020 23:39:43 +0000 (23:39 +0000)
commit1a6a8381a55e59a3c5e6b7fbc6c525f0cac2b854
tree0215e2a0576e7bc9135639dccd0af960fc976304
parent9e2e7eed3bb98837860f6daf66195a94d8734f7c
mgr/dashboard: Add dashboard node script

This file should be used to agregate all external scripts we need.
Multiple flags can be used in the same call.

Available flags:

--env: Generates angular environment files.

--pre: Modifies 'angular.json' to enable the build of custom locales using
       angular --localize.
       Languages can be defined using the environment variable LANGS,
       if no value is provided all languages will be build.
       Default language is always build, even if not provided.
       p.e.: 'LANGS="pt" node cd --pre', will build EN and PT.
       For backward compatibility we accept both long and short version of
       languages, p.e.: 'pt' and 'pt-BR'

--post: Restores 'angular.json' to its original.

Signed-off-by: Tiago Melo <tmelo@suse.com>
make-dist
src/pybind/mgr/dashboard/CMakeLists.txt
src/pybind/mgr/dashboard/frontend/angular.json
src/pybind/mgr/dashboard/frontend/cd.js [new file with mode: 0755]
src/pybind/mgr/dashboard/frontend/environment.build.js [deleted file]
src/pybind/mgr/dashboard/frontend/package-lock.json
src/pybind/mgr/dashboard/frontend/package.json