forked from vscode-shellcheck/vscode-shellcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bindl.config.js
71 lines (70 loc) · 1.78 KB
/
bindl.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
const version = "v0.8.0";
const shortVersion = version.substring(1);
const shellcheckReleaseUrl = `https://github.com/koalaman/shellcheck/releases/download/${version}/shellcheck-${version}`;
const shellcheckM1DownloadBaseUrl = `https://github.com/vscode-shellcheck/shellcheck-m1/releases/download/${version}/`;
module.exports = {
binaries: [
{
platform: "linux",
arch: "x64",
url: `${shellcheckReleaseUrl}.linux.x86_64.tar.xz`,
files: [
{
source: `shellcheck-${version}/shellcheck`,
target: "shellcheck",
},
],
},
{
platform: "linux",
arch: "arm",
url: `${shellcheckReleaseUrl}.linux.armv6hf.tar.xz`,
files: [
{
source: `shellcheck-${version}/shellcheck`,
target: "shellcheck",
},
],
},
{
platform: "linux",
arch: "arm64",
url: `${shellcheckReleaseUrl}.linux.aarch64.tar.xz`,
files: [
{
source: `shellcheck-${version}/shellcheck`,
target: "shellcheck",
},
],
},
{
platform: "darwin",
arch: "x64",
url: `${shellcheckReleaseUrl}.darwin.x86_64.tar.xz`,
files: [
{
source: `shellcheck-${version}/shellcheck`,
target: "shellcheck",
},
],
},
{
platform: "darwin",
arch: "arm64",
// Sync from homebrew
url: `${shellcheckM1DownloadBaseUrl}shellcheck-${shortVersion}.tar.gz`,
files: [
{
source: `shellcheck/${shortVersion}/bin/shellcheck`,
target: "shellcheck",
},
],
},
{
platform: "win32",
arch: "x32",
url: `${shellcheckReleaseUrl}.zip`,
files: [{ source: `shellcheck.exe`, target: "shellcheck.exe" }],
},
],
};