Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
b8cf0567
Commit
b8cf0567
authored
Apr 08, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: new rpm fixes
parent
d1d346a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
rpmgs
bin/rpmgs
+9
-6
No files found.
bin/rpmgs
View file @
b8cf0567
...
...
@@ -528,10 +528,10 @@ update_predownloaded()
local
COMMITMSG
=
''
local
PRODUCTION
=
''
[
"
$MODE
"
=
"production"
]
&&
PRODUCTION
=
'--
production
'
[
"
$MODE
"
=
"production"
]
&&
PRODUCTION
=
'--
omit=dev
'
info
"Detected npm install hook, running ..."
docmd npm
install
--verbose
--no-
optional
--ignore-scripts
$PRODUCTION
||
fatal
docmd npm
install
$VERBOSE
--omit
=
optional
--ignore-scripts
$PRODUCTION
||
fatal
COMMITMSG
=
"update node_modules with npm install
$PRODUCTION
for
$VERSION
(see
$SDNAME
in .gear/rules)"
if
[
-s
$RGD
/.gear/predownloaded-postinstall-hook
]
;
then
...
...
@@ -541,12 +541,15 @@ update_predownloaded()
# prune removes modules not listed in package.json
# a= npm prune $PRODUCTION
docmd npm dedup
# dedup restores removed modules!
#docmd npm dedup
info
"Removing binaries ..."
find vendor
-name
"*.a"
-type
f
-delete
-print
find vendor
-name
"*.so"
-type
f
-delete
-print
find vendor
-name
"*.dll"
-type
f
-delete
-print
if
[
-d
vendor
]
;
then
find vendor
-name
"*.a"
-type
f
-delete
-print
find vendor
-name
"*.so"
-type
f
-delete
-print
find vendor
-name
"*.dll"
-type
f
-delete
-print
fi
# drop all exclude node_modules
# TODO: correct .* removing
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment