Files
SwiftLint/tools/get-version
Danny Mösch a6c4fd98bc Move files from SwiftLintCore to SwiftLintFramework
Ideally, SwiftLintCore would some day only contain components
that are needed to define rules. Consequently, it would be the
only bundle required to import for (external) rule development.
2024-12-23 12:51:43 +01:00

6 lines
117 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
cat Source/SwiftLintFramework/Models/Version.swift | awk -F '"' '{print $2}' | xargs