Skip to content

Commit 13adb02

Browse files
committed
chore: clean repo, fix Go version, add install info to tags
- Remove non-project files from tracking (.cursor, .vscode, .mcp.json, xx.md, docs/superpowers) - Proper .gitignore for IDE, binary, test artifacts - Go version: 1.24+ minimum (required by utls dep), go.mod set by go mod tidy - CI/release workflows use Go 1.24 - Annotated tags include install command: go install github.com/RandomCodeSpace/rawdoc@<tag> - README requirements updated to Go 1.24+
1 parent c4ed715 commit 13adb02

10 files changed

Lines changed: 32 additions & 3066 deletions

File tree

.cursor/mcp.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Go
2424
uses: actions/setup-go@v5
2525
with:
26-
go-version: "1.22"
26+
go-version: "1.24"
2727

2828
- name: Run tests
2929
id: tests
@@ -65,7 +65,9 @@ jobs:
6565
exit 0
6666
fi
6767
68-
git tag "$NEW_TAG"
68+
git tag -a "$NEW_TAG" -m "Auto patch $NEW_TAG
69+
70+
Install: go install github.com/RandomCodeSpace/rawdoc@$NEW_TAG"
6971
git push origin "$NEW_TAG"
7072
echo "Tagged $NEW_TAG"
7173
echo "new_tag=$NEW_TAG" >> "$GITHUB_OUTPUT"

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Go
3030
uses: actions/setup-go@v5
3131
with:
32-
go-version: "1.22"
32+
go-version: "1.24"
3333

3434
- name: Determine version
3535
id: version
@@ -87,7 +87,9 @@ jobs:
8787
git add main.go
8888
git diff --cached --quiet && echo "No version change to commit" || \
8989
git commit -m "release: v${{ steps.version.outputs.version }}"
90-
git tag "${{ steps.version.outputs.tag }}"
90+
git tag -a "${{ steps.version.outputs.tag }}" -m "Release ${{ steps.version.outputs.tag }}
91+
92+
Install: go install github.com/RandomCodeSpace/rawdoc@${{ steps.version.outputs.tag }}"
9193
git push origin HEAD:main --tags
9294
9395
- name: Create GitHub release

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,23 @@
1+
# Binary
12
rawdoc
3+
rawdoc.exe
4+
dist/
5+
6+
# IDE
7+
.cursor/
8+
.vscode/
9+
.idea/
10+
11+
# MCP configs
12+
.mcp.json
13+
14+
# OS
15+
.DS_Store
16+
Thumbs.db
17+
18+
# Test artifacts
19+
xx.md
20+
/tmp/
21+
22+
# Plans (internal)
23+
docs/superpowers/

.mcp.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

.vscode/mcp.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,5 +229,5 @@ GOOS=darwin GOARCH=arm64 go build -o rawdoc-darwin-arm64 .
229229

230230
| Requirement | Notes |
231231
|-------------|-------|
232-
| Go 1.21+ | Required to build from source |
232+
| Go 1.24+ | Required to build from source |
233233
| Chrome / Chromium | Optional — only needed for Tier 3 (JS-rendered pages) |

0 commit comments

Comments
 (0)