Commit e6ae98c 1 parent 2d15096 commit e6ae98c Copy full SHA for e6ae98c
File tree 3 files changed +49
-0
lines changed
shared/repos/GsDevKit_launcher
bootstrapping/gemstone/gsdevkit_home
3 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # =========================================================================
3
+ # Copyright (c) 2019 GemTalk Systems, LLC <[email protected] >.
4
+ #
5
+ # MIT license: https://github.com/GsDevKit/GsDevKit_home/blob/master/license.txt
6
+ # =========================================================================
7
+
8
+ theArgs=" $* "
9
+ source " ${GS_HOME} /bin/private/shFeedback"
10
+ start_banner
11
+
12
+ #
13
+ # This script does the dirty work needed to get to the point where
14
+ # gsdevkit_launcher scripts can be run
15
+
16
+ set -x # so we can see what is going on
17
+
18
+ gsdevkit_launcher_version=" v0.10.0"
19
+
20
+ cd $GS_HOME /shared/gemstone
21
+
22
+ # make sure 3.5.0 is installed and create symbolic link to the 3.5.0 product tree
23
+ $GS_HOME /bin/downloadGemStone 3.5.0
24
+ if [ ! -d " $GS_HOME /shared/downloads/products/GemStone64Bit3.5.0-x86_64.Linux" ] ; then
25
+ # not Linux
26
+ if [ ! -d " $GS_HOME /shared/downloads/products/GemStone64Bit3.5.0-i386.Darwin" ] ; then
27
+ # not Mac
28
+ exit_1_banner " gsdevkit_launcher currently supported only on Mac or Linux platforms"
29
+ else
30
+ ln -s $GS_HOME /shared/downloads/products/GemStone64Bit3.5.0-i386.Darwin product
31
+ fi
32
+ else
33
+ ln -s $GS_HOME /shared/downloads/products/GemStone64Bit3.5.0-x86_64.Linux product
34
+ fi
35
+
36
+ # download and install the gsdevkit_launcher solo extent
37
+ pushd snapshots
38
+ curl -L -O -s -S " https://github.com/dalehenrich/st_launcher/releases/download/$gsdevkit_launcher_version /extent0.gsdevkit_launcher.dbf.zip"
39
+ rm -rf extent0.gsdevkit_launcher.dbf
40
+ unzip -q extent0.gsdevkit_launcher.dbf.zip
41
+ popd
42
+
43
+ # End of script
44
+ exit_0_banner " ...finished"
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ cd $GS_HOME
30
30
git fetch --all
31
31
git checkout issue_260
32
32
33
+ # bootstrap gsdevkit_launcher script support
34
+ $GS_HOME/alt_bin/bootstrap.sh
35
+
33
36
# add alt_bin and alt_bin/examples to your path
34
37
. alt_bin/defHome_PATH.env
35
38
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ cp extents/extent0.dbf snapshots/extent0.gsdevkit_launcher.dbf
15
15
# cp the solo extent to snapshots directory
16
16
chmod oug-w snapshots/extent0.gsdevkit_launcher.dbf
17
17
cp -f snapshots/extent0.gsdevkit_launcher.dbf $GS_HOME/shared/gemstone/snapshots/
18
+ rm -rf $GS_HOME/shared/gemstone/snapshots/extent0.gsdevkit_launcher.dbf.zip
19
+ zip $GS_HOME/shared/gemstone/snapshots/extent0.gsdevkit_launcher.dbf.zip snapshots/extent0.gsdevkit_launcher.dbf
18
20
19
21
startStone $GEMSTONE_NAME # in 3.5.1 snapshot up above
20
22
You can’t perform that action at this time.
0 commit comments