Skip to content

Commit 4f7abab

Browse files
authored
chore: fix script name and update CONTRIBUTING.md (#325)
1 parent 852de8f commit 4f7abab

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/actions/setup-go/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ runs:
5252
5353
- name: Patch tsgo
5454
shell: bash
55-
run: ./scripts/apply-tsgo-path.sh
55+
run: ./scripts/apply-tsgo-patch.sh

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Build the project:
1313
```bash
1414
# init typescript-go submodule
1515
git submodule update --init --recursive
16+
# apply patch to tsgo
17+
./scripts/apply-tsgo-patch.sh
1618
pnpm install
1719
pnpm build
1820
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"build": "pnpm -r --filter=!@typescript/api --filter=!@typescript/ast --filter='@rslint/test-tools...' --filter='rslint...' build",
1717
"build:npm": "zx scripts/build-npm.mjs",
18-
"build:website": "./scripts/apply-tsgo-path.sh && pnpm --filter=!@typescript/api --filter=!@typescript/ast --filter=!@rslint/core --filter @rslint/website... -r build",
18+
"build:website": "./scripts/apply-tsgo-patch.sh && pnpm --filter=!@typescript/api --filter=!@typescript/ast --filter=!@rslint/core --filter @rslint/website... -r build",
1919
"check-spell": "pnpx cspell",
2020
"version": "zx scripts/version.mjs",
2121
"release": "pnpm publish -r --no-git-checks",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
# apply tsgo path
3+
# apply tsgo patch
44
cd typescript-go
55
git apply ../__patches__/typescript-go.patch

0 commit comments

Comments
 (0)