Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ipaaca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ramin Yaghoubzadeh Torky
ipaaca
Commits
ce2bc242
Commit
ce2bc242
authored
12 years ago
by
Ramin Yaghoubzadeh
Browse files
Options
Downloads
Patches
Plain Diff
new DEP
parent
f28af56b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DEPS.txt
+3
-0
3 additions, 0 deletions
DEPS.txt
resolve.sh
+10
-3
10 additions, 3 deletions
resolve.sh
with
13 additions
and
3 deletions
DEPS.txt
0 → 100644
+
3
−
0
View file @
ce2bc242
REQUIRED="rsb"
OPTIONAL=""
This diff is collapsed.
Click to expand it.
resolve.sh
+
10
−
3
View file @
ce2bc242
#!/bin/bash
#!/bin/bash
PACKAGES
=
"rsb"
# This file is deprecated.
# Resolution is performed automatically in the soa script.
eval
"
`
grep
'^REQUIRED=\|^OPTIONAL='
DEPS.txt
`
"
REQ
=
"
$REQUIRED
"
OPT
=
"
$OPTIONAL
"
shopt
-q
nullglob
||
resetnullglob
=
1
shopt
-q
nullglob
||
resetnullglob
=
1
shopt
-s
nullglob
shopt
-s
nullglob
...
@@ -12,7 +17,8 @@ mkdir -p deps/lib
...
@@ -12,7 +17,8 @@ mkdir -p deps/lib
mkdir
-p
deps/include
mkdir
-p
deps/include
mkdir
-p
deps/scripts
mkdir
-p
deps/scripts
mkdir
-p
deps/python
mkdir
-p
deps/python
for
P
in
$PACKAGES
;
do
for
P
in
$REQ
$OPT
;
do
echo
"Importing from
$P
..."
files
=(
../
$P
/dist/bin/
*
)
;
files
=(
../
$P
/dist/bin/
*
)
;
[
"
$files
"
]
&&
cp
-a
../
$P
/dist/bin/
*
deps/bin/
[
"
$files
"
]
&&
cp
-a
../
$P
/dist/bin/
*
deps/bin/
files
=(
../
$P
/dist/lib/
*
)
;
files
=(
../
$P
/dist/lib/
*
)
;
...
@@ -22,10 +28,11 @@ for P in $PACKAGES; do
...
@@ -22,10 +28,11 @@ for P in $PACKAGES; do
files
=(
../
$P
/dist/scripts/
*
)
;
files
=(
../
$P
/dist/scripts/
*
)
;
[
"
$files
"
]
&&
cp
-a
../
$P
/dist/scripts/
*
deps/scripts/
[
"
$files
"
]
&&
cp
-a
../
$P
/dist/scripts/
*
deps/scripts/
files
=(
../
$P
/dist/python/
*
.zip
)
;
files
=(
../
$P
/dist/python/
*
.zip
)
;
[
"
$files
"
]
&&
for
zipfile
in
../
$P
/dist/python/
*
.zip
;
do
[
"
$files
"
]
&&
for
zipfile
in
../
$P
/dist/python/
*
.zip
../
$P
/dist/
*
.py.zip
;
do
unzip
-oqq
$zipfile
-d
deps/python
unzip
-oqq
$zipfile
-d
deps/python
done
done
done
done
echo
"Done."
[
"
$resetdotglob
"
]
&&
shopt
-u
dotglob
[
"
$resetdotglob
"
]
&&
shopt
-u
dotglob
[
"
$resetnullglob
"
]
&&
shopt
-u
nullglob
[
"
$resetnullglob
"
]
&&
shopt
-u
nullglob
...
...
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