{"repo":"danielsaidi/SwiftPackageScripts","free":true,"listed":false,"github":"https://github.com/danielsaidi/SwiftPackageScripts","clone":"git clone https://github.com/danielsaidi/SwiftPackageScripts.git","description":"A collection of Swift Package-related scripts.","language":"Swift","stars":124,"topics":["swift","shell","spm","scripts"],"license":"MIT","category":"cli-tools","readme_excerpt":"Swift Package Scripts Swift Package Scripts contains scripts that can be used to build and test your package, build DocC and deploy it to GitHub Pages, generate XCFramework binary artifacts, create new semantic versions, etc. Swift Package Scripts also has GitHub Actions workflows that can run certain scripts from the Actions dashboard. Installation Swift Package Scripts can be installed to your computer by cloning the repository: You can then navigate to the folder and sync the scripts to any older folder, using the /sync-to script. This will replace all scripts with the latest versions. After this, you can use scripts/sync-from to perform a sync. GitHub Language Detection Adding these scripts to a small package can cause GitHub to detect the repo language as Shell . If this happens, just add a .gitattributes files with the following content: This will tell GitHub to instruct the Linguist tool to igore the scripts folder when analyzing the package language. Scripts The scripts folder contains Swift Package-related scripts, that can all be customized with their own parameters: build - Build a target for all or some platforms. chmod-all - Runs chmod +x on all scripts in the script folder. docc - Build DocC documentation for all or some platforms. docc-multiplatform - Build multi-platform DocC documentation for all or some platforms. git-default-branch - Get the default git branch name. l10n-gen - Generate public translation key wrappers from an Xcode 26 string catalog. package","default_branch":null,"files":null,"tree":[],"storefront":"/r/danielsaidi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danielsaidi/SwiftPackageScripts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}