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
1
Merge Requests
1
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
b5e0612d
Commit
b5e0612d
authored
Apr 01, 2026
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Apr 01, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: use Cargo.toml for detect rust vendor
Signed-off-by:
Boris Yumankulov
<
boria138@altlinux.org
>
parent
afca0560
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rpmgs
bin/rpmgs
+3
-3
No files found.
bin/rpmgs
View file @
b5e0612d
...
...
@@ -613,13 +613,13 @@ update_predownloaded()
#### cargo only part
if
[
-s
"./Cargo.
lock
"
]
&&
[
!
-d
"./vendor"
]
;
then
if
[
-s
"./Cargo.
toml
"
]
&&
[
!
-d
"./vendor"
]
;
then
local
COMMITMSG
=
''
local
PRODUCTION
=
''
#[ "$MODE" = "production" ] && PRODUCTION='--no-dev'
info
"Detected 'Cargo.
lock
' install hook ..."
info
"Detected 'Cargo.
toml
' install hook ..."
docmd cargo vendor
--verbose
$PRODUCTION
||
fatal
COMMITMSG
=
"update vendored cargo modules with cargo vendor
$PRODUCTION
for
$VERSION
(see
$SDNAME
in .gear/rules)"
...
...
@@ -639,7 +639,7 @@ update_predownloaded()
rm
-rv
vendor/windows
*
/lib/
{
*
.lib,
*
.a
}
HAS_CARGO
=
1
KEEP_DIRS
=
"
$KEEP_DIRS
vendor Cargo.
lock
"
KEEP_DIRS
=
"
$KEEP_DIRS
vendor Cargo.
toml
"
fi
local
i
...
...
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