Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vMap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marty Fabien
vMap
Commits
bbd5526b
Commit
bbd5526b
authored
Sep 26, 2018
by
Armand Bahi
Browse files
Options
Downloads
Patches
Plain Diff
Creating init_vmap_symlinks.sh
parent
817df15f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
init_vmap_symlinks.sh
+35
-0
35 additions, 0 deletions
init_vmap_symlinks.sh
with
35 additions
and
0 deletions
init_vmap_symlinks.sh
+
35
−
0
View file @
bbd5526b
...
...
@@ -14,3 +14,38 @@
APP_NAME
=
"vmap"
APP_MODULES
=(
vmap vm4ms anc cadastre cadastreV2
)
# Vitis
echo
"---- Link Vitis ----"
ln
-rsf
deps/vitis/client client
ln
-rsf
deps/vitis/vas vas
# Conf
echo
"---- Link
${
APP_NAME
}
/conf ----"
ln
-rsf
deps/app_
${
APP_NAME
}
/conf deps/vitis/client/conf
# Modules
for
module
in
"
${
APP_MODULES
[@]
}
"
;
do
echo
"---- Link
${
module
}
----"
if
[
-d
"
$(
pwd
)
/deps/module_
${
module
}
/module"
]
;
then
ln
-rsf
deps/module_
${
module
}
/module deps/vitis/client/modules/
${
module
}
fi
if
[
-d
"
$(
pwd
)
/deps/module_
${
module
}
/web_service/ws"
]
;
then
ln
-rsf
deps/module_
${
module
}
/web_service/ws deps/vitis/vas/rest/ws/
${
module
}
fi
if
[
-d
"
$(
pwd
)
/deps/module_
${
module
}
/web_service/conf"
]
;
then
ln
-rsf
deps/module_
${
module
}
/web_service/conf deps/vitis/vas/rest/conf/
${
module
}
fi
if
[
-d
"
$(
pwd
)
/deps/module_
${
module
}
/web_service/sql"
]
;
then
ln
-rsf
deps/module_
${
module
}
/web_service/conf deps/vitis/vas/sql/
${
module
}
fi
if
[
-d
"
$(
pwd
)
/deps/module_
${
module
}
/web_service/class"
]
;
then
for
class_dir
in
$(
ls
"
$(
pwd
)
/deps/module_
${
module
}
/web_service/class"
)
;
do
if
[
-d
"
$(
pwd
)
/deps/module_
${
module
}
/web_service/class/
${
class_dir
}
"
]
;
then
echo
"---- Link
${
module
}
/
${
class_dir
}
----"
ln
-rsf
deps/module_
${
module
}
/web_service/class/
${
class_dir
}
deps/vitis/vas/rest/class/
${
class_dir
}
fi
done
fi
done
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