Skip to content

Commit fc36a22

Browse files
committed
nit(scoop): fix .exe path in Scoop manifest
Scoop maintainers prefer \ instead of / for file paths [1]. Respect their opinion in our Scoop manifest. Also document how to manually test changes to the manifest. [1] ScoopInstaller/Main#3436 (comment)
1 parent 8bb6319 commit fc36a22

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

dist/scoop/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ package manager.
55

66
The `make-manifest.go` script modifies `quick-lint-js.json`.
77

8+
## Manually building the manifest
9+
10+
1. Download `windows.zip` and `windows-x86.zip` from
11+
<https://c.quick-lint-js.com/>.
12+
2. Run:
13+
`go run dist/scoop/make-manifest.go -BaseURI https://c.quick-lint-js.com/builds/BUILD_COMMIT_HASH/ -x86-ZIP windows-x86.zip -x64-ZIP windows.zip -Out quick-lint-js.json`
14+
3. Test installation: `scoop install .\quick-lint-js.json`
15+
816
## Publishing
917

1018
Every build, [CI](../../.github/workflows/build-static.yml) updates

dist/scoop/quick-lint-js.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"hash": "sha256:{{ .X86_ZIP_SHA256 }}"
1414
}
1515
},
16-
"bin": "bin/quick-lint-js.exe",
16+
"bin": "bin\\quick-lint-js.exe",
1717
"checkver": {
1818
"url": "https://c.quick-lint-js.com/releases/latest/scoop/quick-lint-js.json",
1919
"jsonpath": "$.version"

0 commit comments

Comments
 (0)