Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
guiHive
Commits
56c0efa1
Commit
56c0efa1
authored
Nov 18, 2015
by
Matthieu Muffato
Browse files
We can remove a few more sub-directories
parent
30f86717
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
guihive-deploy.sh
guihive-deploy.sh
+10
-4
No files found.
guihive-deploy.sh
View file @
56c0efa1
...
...
@@ -45,12 +45,19 @@ safe_symlink () {
## Higher-level functions that wrap the safe functions
trim_ehive_repo
()
{
# $dir
rm
-rf
"
$1
/docs"
rm
-rf
"
$1
/wrappers"
rm
-rf
"
$1
/scripts"
rm
-rf
"
$1
/t"
}
add_guihive_version
()
{
echo
"checkout
$1
: guiHive
$2
and eHive
$3
"
safe_clone
"
$2
"
"
$GUIHIVE_CLONE_LOCATION
"
"
${
GUIHIVE_VERSIONS_DIR
}
/
$1
"
safe_clone
"
$3
"
"
$EHIVE_CLONE_LOCATION
"
"
${
EHIVE_VERSIONS_DIR
}
/
$1
"
rm
-rf
"
${
EHIVE_VERSIONS_DIR
}
/
$1
/docs"
rm
-rf
"
${
EHIVE_VERSIONS_DIR
}
/
$1
/wrappers"
trim_ehive_repo
"
${
EHIVE_VERSIONS_DIR
}
/
$1
"
}
link_guihive_version
()
{
...
...
@@ -59,8 +66,7 @@ link_guihive_version () {
echo
"checkout
$1
: guiHive =
$2
and eHive
$EHIVE_COMMIT
"
safe_symlink
"
$2
"
"
${
GUIHIVE_VERSIONS_DIR
}
/
$1
"
safe_clone
"
$EHIVE_COMMIT
"
"
$EHIVE_CLONE_LOCATION
"
"
${
EHIVE_VERSIONS_DIR
}
/
$1
"
rm
-rf
"
${
EHIVE_VERSIONS_DIR
}
/
$1
/docs"
rm
-rf
"
${
EHIVE_VERSIONS_DIR
}
/
$1
/wrappers"
trim_ehive_repo
"
${
EHIVE_VERSIONS_DIR
}
/
$1
"
}
...
...
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