Skip to content

Commit 3183452

Browse files
authored
Merge pull request #5 from thanhdevapp/dev-mvp
Dev mvp
2 parents a1af5f4 + dadae64 commit 3183452

File tree

3 files changed

+8
-64
lines changed

3 files changed

+8
-64
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
# Backend tests (Go)
11+
# Frontend tests run locally via pre-push hook, not in CI
1112
backend:
1213
name: Backend Tests
1314
runs-on: ubuntu-latest
@@ -27,66 +28,3 @@ jobs:
2728

2829
- name: Test
2930
run: go test -v ./...
30-
31-
# Frontend tests (React + TypeScript)
32-
frontend:
33-
name: Frontend Tests
34-
runs-on: ubuntu-latest
35-
defaults:
36-
run:
37-
working-directory: ./frontend
38-
steps:
39-
- uses: actions/checkout@v4
40-
41-
- name: Setup Node.js
42-
uses: actions/setup-node@v4
43-
with:
44-
node-version: '18'
45-
46-
- name: Install dependencies
47-
run: npm install
48-
49-
- name: Run TypeScript check
50-
run: npx tsc --noEmit
51-
52-
- name: Run tests
53-
run: npm run test:run
54-
55-
- name: Generate coverage report
56-
run: npm run test:coverage
57-
58-
- name: Upload coverage to Codecov
59-
uses: codecov/codecov-action@v4
60-
with:
61-
directory: ./frontend/coverage
62-
flags: frontend
63-
token: ${{ secrets.CODECOV_TOKEN }}
64-
fail_ci_if_error: false
65-
66-
- name: Upload coverage artifacts
67-
uses: actions/upload-artifact@v4
68-
with:
69-
name: coverage-report
70-
path: ./frontend/coverage
71-
retention-days: 7
72-
73-
# Linting - Temporarily disabled due to TUI package linting issues
74-
# TODO: Re-enable after fixing TUI linting or removing TUI package
75-
# lint:
76-
# name: Go Lint
77-
# runs-on: ubuntu-latest
78-
# steps:
79-
# - uses: actions/checkout@v4
80-
81-
# - name: Set up Go
82-
# uses: actions/setup-go@v5
83-
# with:
84-
# go-version: '1.24'
85-
86-
# - name: Create dummy frontend directory
87-
# run: mkdir -p frontend/dist && echo "CLI build - frontend not included" > frontend/dist/README.txt
88-
89-
# - name: golangci-lint
90-
# uses: golangci/golangci-lint-action@v3
91-
# with:
92-
# version: latest

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ Download and install the native app:
5050
- [Apple Silicon DMG](https://github.com/thanhdevapp/mac-dev-cleaner-cli/releases/latest/download/mac-dev-cleaner-darwin-arm64.dmg)
5151
- [Intel DMG](https://github.com/thanhdevapp/mac-dev-cleaner-cli/releases/latest/download/mac-dev-cleaner-darwin-amd64.dmg)
5252

53+
> **⚠️ First Launch Issue?** If you see "App is damaged or incomplete" error, run:
54+
> ```bash
55+
> xattr -cr "/Applications/Mac Dev Cleaner.app"
56+
> ```
57+
> This removes the quarantine flag that macOS adds to downloaded apps.
58+
5359
### CLI Tool
5460
5561
**Homebrew:**

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func main() {
4545
WindowIsTranslucent: true,
4646
About: &mac.AboutInfo{
4747
Title: "Mac Dev Cleaner",
48-
Message: "Clean development artifacts on macOS",
48+
Message: "Version 1.0.3\n\nClean development artifacts on macOS\nFree up disk space from Xcode, Gradle, node_modules & more.\n\n© 2025 thanhdevapp\nhttps://github.com/thanhdevapp/mac-dev-cleaner-cli",
4949
},
5050
},
5151
})

0 commit comments

Comments
 (0)