Skip to content
Snippets Groups Projects
Commit 1601d3d8 authored by ko_oler's avatar ko_oler
Browse files

fix .gitlab-ci.yml

parent d52cadb5
No related branches found
No related tags found
1 merge request!1Добавлена генерация файлов для frontend в Makefile и публикацию npm-пакета
Pipeline #19085 failed with stage
in 18 seconds
...@@ -54,6 +54,7 @@ generate_index() { ...@@ -54,6 +54,7 @@ generate_index() {
} }
echo "---deleting existing *.d.ts, *.d.ts.map, *.js, *.js.map files" echo "---deleting existing *.d.ts, *.d.ts.map, *.js, *.js.map files"
pwd
find ./config/dist/*/**/ -path '*.d.ts' -delete find ./config/dist/*/**/ -path '*.d.ts' -delete
find ./config/dist/*/**/ -path '*.d.ts.map' -delete find ./config/dist/*/**/ -path '*.d.ts.map' -delete
find ./config/dist/*/**/ -path '*.js' -delete find ./config/dist/*/**/ -path '*.js' -delete
...@@ -66,6 +67,7 @@ find ./config/dist -path '*.js.map' -delete ...@@ -66,6 +67,7 @@ find ./config/dist -path '*.js.map' -delete
find ./config/dist -path '*.ts.bak' -delete find ./config/dist -path '*.ts.bak' -delete
echo "---generating index.ts files" echo "---generating index.ts files"
pwd
ts_files=$(find ./config/dist/**/ -name '*.ts') ts_files=$(find ./config/dist/**/ -name '*.ts')
ts_files_array=($ts_files) ts_files_array=($ts_files)
generate_index "${ts_files_array[@]}" generate_index "${ts_files_array[@]}"
...@@ -78,6 +80,7 @@ echo "---deleting created tmp files" ...@@ -78,6 +80,7 @@ echo "---deleting created tmp files"
npm uninstall protobufjs@6.11.3 npm uninstall protobufjs@6.11.3
find ./config/dist -name 'index.ts' -delete find ./config/dist -name 'index.ts' -delete
find ./config/dist/*/** -name 'index.ts' -delete find ./config/dist/*/** -name 'index.ts' -delete
find ./config/ -maxdepth 1 -name 'index.ts' -delete
find ./ -maxdepth 1 -name '*.json' -delete find ./ -maxdepth 1 -name '*.json' -delete
find ./ -maxdepth 1 -name '*.ts' -delete find ./ -maxdepth 1 -name '*.ts' -delete
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment