This repository was archived by the owner on Jan 17, 2024. It is now read-only.
File tree 2 files changed +24
-25
lines changed
2 files changed +24
-25
lines changed Original file line number Diff line number Diff line change 7
7
{
8
8
from_source=" "
9
9
if [ " $1 " = " -build" ]; then
10
- from_source=" t"
10
+ from_source=" t"
11
11
fi
12
12
13
13
set -e
20
20
os=" $( uname) "
21
21
arch=" $( uname -m) "
22
22
if [ " $from_source " = " " ]; then
23
- echo " Downloading pre-built TigerBeetle binary for your machine."
24
- echo " "
25
-
26
- if [ " $os " = " Darwin" ]; then
27
- arch=" universal"
28
- os=" macos"
29
- elif [ " $os " = " Linux" ]; then
30
- os=" linux"
31
- else
32
- echo " Unsupported OS."
33
- exit 1
34
- fi
35
-
36
- curl -sLO " https://github.com/tigerbeetle/tigerbeetle/releases/download/$version /tigerbeetle-$arch -$os .zip"
37
- unzip -qo " tigerbeetle-$arch -$os .zip"
38
- chmod +x tigerbeetle
23
+ echo " Downloading pre-built TigerBeetle binary for your machine."
24
+ echo " "
25
+
26
+ if [ " $os " = " Darwin" ]; then
27
+ arch=" universal"
28
+ os=" macos"
29
+ elif [ " $os " = " Linux" ]; then
30
+ os=" linux"
31
+ else
32
+ echo " Unsupported OS."
33
+ exit 1
34
+ fi
35
+
36
+ curl -sLO " https://github.com/tigerbeetle/tigerbeetle/releases/download/$version /tigerbeetle-$arch -$os .zip"
37
+ unzip -qo " tigerbeetle-$arch -$os .zip"
38
+ chmod +x tigerbeetle
39
39
else
40
- echo " Building TigerBeetle binary from source for your machine."
41
- echo " "
42
-
43
- git checkout " $version "
44
- ./scripts/install.sh
40
+ echo " Building TigerBeetle binary from source for your machine."
41
+ echo " "
42
+
43
+ git checkout " $version "
44
+ ./scripts/install.sh
45
45
fi
46
46
47
47
echo " Successfully set up $( ./tigerbeetle version) at $( pwd) /tigerbeetle.
Original file line number Diff line number Diff line change @@ -1287,9 +1287,8 @@ const ShellcheckStep = struct {
1287
1287
.extension = ".sh" ,
1288
1288
});
1289
1289
1290
- try shell .exec ("shellcheck {scripts}" , .{
1291
- .scripts = scripts ,
1292
- });
1290
+ try shell .exec ("shellcheck {scripts}" , .{ .scripts = scripts });
1291
+ try shell .exec ("shellcheck ./bootstrap.sh" , .{});
1293
1292
}
1294
1293
};
1295
1294
You can’t perform that action at this time.
0 commit comments