Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-js
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-js
Commits
1601d3d8
Commit
1601d3d8
authored
2 years ago
by
ko_oler
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/generate.sh
+3
-0
3 additions, 0 deletions
config/generate.sh
with
3 additions
and
0 deletions
config/generate.sh
+
3
−
0
View file @
1601d3d8
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment