-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #260: initial version of bootstrap.sh script ... make sure GemS…
…tone 3.5.0 product tree present and download zipped gsdevkit_launcher solo extent [ci skip]
- Loading branch information
1 parent
2d15096
commit e6ae98c
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#! /usr/bin/env bash | ||
#========================================================================= | ||
# Copyright (c) 2019 GemTalk Systems, LLC <[email protected]>. | ||
# | ||
# MIT license: https://github.com/GsDevKit/GsDevKit_home/blob/master/license.txt | ||
#========================================================================= | ||
|
||
theArgs="$*" | ||
source "${GS_HOME}/bin/private/shFeedback" | ||
start_banner | ||
|
||
# | ||
# This script does the dirty work needed to get to the point where | ||
# gsdevkit_launcher scripts can be run | ||
|
||
set -x # so we can see what is going on | ||
|
||
gsdevkit_launcher_version="v0.10.0" | ||
|
||
cd $GS_HOME/shared/gemstone | ||
|
||
# make sure 3.5.0 is installed and create symbolic link to the 3.5.0 product tree | ||
$GS_HOME/bin/downloadGemStone 3.5.0 | ||
if [ ! -d "$GS_HOME/shared/downloads/products/GemStone64Bit3.5.0-x86_64.Linux" ] ; then | ||
# not Linux | ||
if [ ! -d "$GS_HOME/shared/downloads/products/GemStone64Bit3.5.0-i386.Darwin" ] ; then | ||
# not Mac | ||
exit_1_banner "gsdevkit_launcher currently supported only on Mac or Linux platforms" | ||
else | ||
ln -s $GS_HOME/shared/downloads/products/GemStone64Bit3.5.0-i386.Darwin product | ||
fi | ||
else | ||
ln -s $GS_HOME/shared/downloads/products/GemStone64Bit3.5.0-x86_64.Linux product | ||
fi | ||
|
||
# download and install the gsdevkit_launcher solo extent | ||
pushd snapshots | ||
curl -L -O -s -S "https://github.com/dalehenrich/st_launcher/releases/download/$gsdevkit_launcher_version/extent0.gsdevkit_launcher.dbf.zip" | ||
rm -rf extent0.gsdevkit_launcher.dbf | ||
unzip -q extent0.gsdevkit_launcher.dbf.zip | ||
popd | ||
|
||
# End of script | ||
exit_0_banner "...finished" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters