File tree Expand file tree Collapse file tree 5 files changed +22
-8
lines changed
Expand file tree Collapse file tree 5 files changed +22
-8
lines changed Original file line number Diff line number Diff line change 77jobs :
88 verification :
99 name : Commit verification
10- runs-on : macos-15
10+ runs-on : macos-26
1111
1212 steps :
1313 - name : Checkout
Original file line number Diff line number Diff line change 77jobs :
88 verification :
99 name : Release
10- runs-on : macos-15
10+ runs-on : macos-26
1111
1212 permissions : # For semantic-release
1313 contents : write
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ format:
1010
1111build-release :
1212 @echo " Building release..."
13- swift build -c release
14- @echo " Done! Check .build/arm64-apple-macosx/release/DepChecker "
13+ swift build -c release --product dep-checker
14+ @echo " Done in .build/arm64-apple-macosx/release/"
1515
1616tests : setup-xcbeautify
1717 @echo " Running tests..."
Original file line number Diff line number Diff line change 1- // swift-tools-version:6.0
1+ // swift-tools-version:6.2
22import PackageDescription
33
44let package = Package (
55 name: " DepChecker " ,
66 platforms: [ . macOS( . v15) ] ,
7+ products: [
8+ . executable(
9+ name: " dep-checker " ,
10+ targets: [ " DepChecker " ]
11+ )
12+ ] ,
713 dependencies: [
814 . package ( url: " https://github.com/tuist/XcodeProj " , exact: " 9.5.0 " ) ,
915 . package ( url: " https://github.com/apple/swift-argument-parser.git " , from: " 1.6.1 " ) ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ DepChecker is a tool designed to help Swift developers analyze project dependenc
1515To analyze the dependencies of your project, run:
1616
1717``` sh
18- swift run -c release DepChecker [--output-format < output-format> ] [--configuration-file < configuration-file> ] [--git-hub-token < git-hub-token> ] --project-path < project-path> [--resolved-package-path < resolved-package-path> ] [--max-days < max-days> ] [--exclude-dependencies < exclude-dependencies> ...] [--include-dependencies < include-dependencies> ...] [--include-transitive-dependencies]
18+ swift run -c release dep-checker [--output-format < output-format> ] [--configuration-file < configuration-file> ] [--git-hub-token < git-hub-token> ] --project-path < project-path> [--resolved-package-path < resolved-package-path> ] [--max-days < max-days> ] [--exclude-dependencies < exclude-dependencies> ...] [--include-dependencies < include-dependencies> ...] [--include-transitive-dependencies]
1919```
2020
2121#### Params
@@ -33,7 +33,7 @@ swift run -c release DepChecker [--output-format <output-format>] [--configurati
3333#### Example
3434
3535``` sh
36- swift run -c release DepChecker -c ~ /.depChecker/config.json --project-path ~ /Projects/my-project/
36+ swift run -c release dep-checker -c ~ /.depChecker/config.json --project-path ~ /Projects/my-project/
3737```
3838
3939##### ~ /.depChecker/config.json
8080 # Executing depChecker from its folder
8181 run : |
8282 cd depChecker
83- swift run -c release DepChecker --project-path ../MyProject/ --git-hub-token ${{ secrets.GITHUB_TOKEN }} --max-days 365
83+ swift run -c release dep-checker --project-path ../MyProject/ --git-hub-token ${{ secrets.GITHUB_TOKEN }} --max-days 365
84+ ` ` `
85+
86+ ### Mint
87+
88+ ` ` ` sh
89+ mint install amegias/ios-dep-checker
90+ dep-checker --project-path ../MyProject/ --git-hub-token ${{ secrets.GITHUB_TOKEN }} --max-days 365
91+
8492```
8593
8694## Contributing
You can’t perform that action at this time.
0 commit comments