We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d24104c commit da6bf83Copy full SHA for da6bf83
bucket/proto.json
@@ -9,13 +9,22 @@
9
"hash": "fdf3b65bb60930a7f454cb164ea86040ea28a62b8ee586b67672b9a145c01dc7"
10
}
11
},
12
- "bin": [
13
- "proto.exe",
14
- "proto-shim.exe"
15
- ],
+ "installer": {
+ "script": [
+ "# Create bin directory",
+ "New-Item -ItemType Directory -Force -Path \"$dir\\bin\" | Out-Null",
16
+ "",
17
+ "# Move proto binaries into bin",
18
+ "Move-Item \"$dir\\proto.exe\" \"$dir\\bin\\proto.exe\" -Force",
19
+ "if (Test-Path \"$dir\\proto-shim.exe\") {",
20
+ " Move-Item \"$dir\\proto-shim.exe\" \"$dir\\bin\\proto-shim.exe\" -Force",
21
+ "}"
22
+ ]
23
+ },
24
"env_set": {
25
"PROTO_HOME": "$dir"
26
27
+ "env_add_path": "bin",
28
"checkver": {
29
"github": "https://github.com/moonrepo/proto"
30
0 commit comments