Add support for .s source files (#2199)
This commit is contained in:
parent
7ff061268e
commit
1d08cb069f
|
@ -11,6 +11,7 @@ Please, check out guidelines: https://keepachangelog.com/en/1.0.0/
|
|||
### Added
|
||||
|
||||
- Fourier CLI tool to automate development tasks [#2196](https://github.com/tuist/tuist/pull/2196) by @pepibumur](https://github.com/pepibumur).
|
||||
- Support `.s` source files [#2199](https://github.com/tuist/tuist/pull/2199) by[ @dcvz](https://github.com/dcvz).
|
||||
|
||||
## 1.29.0 - Tutu
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ public enum TargetError: FatalError, Equatable {
|
|||
public struct Target: Equatable, Hashable, Comparable {
|
||||
// MARK: - Static
|
||||
|
||||
public static let validSourceExtensions: [String] = ["m", "swift", "mm", "cpp", "c", "d", "intentdefinition", "xcmappingmodel", "metal"]
|
||||
public static let validSourceExtensions: [String] = ["m", "swift", "mm", "cpp", "c", "d", "s", "intentdefinition", "xcmappingmodel", "metal"]
|
||||
public static let validFolderExtensions: [String] = ["framework", "bundle", "app", "xcassets", "appiconset", "scnassets"]
|
||||
|
||||
// MARK: - Attributes
|
||||
|
|
|
@ -20,7 +20,7 @@ final class TargetErrorTests: TuistUnitTestCase {
|
|||
|
||||
final class TargetTests: TuistUnitTestCase {
|
||||
func test_validSourceExtensions() {
|
||||
XCTAssertEqual(Target.validSourceExtensions, ["m", "swift", "mm", "cpp", "c", "d", "intentdefinition", "xcmappingmodel", "metal"])
|
||||
XCTAssertEqual(Target.validSourceExtensions, ["m", "swift", "mm", "cpp", "c", "d", "s", "intentdefinition", "xcmappingmodel", "metal"])
|
||||
}
|
||||
|
||||
func test_productName_when_staticLibrary() {
|
||||
|
@ -87,6 +87,7 @@ final class TargetTests: TuistUnitTestCase {
|
|||
"sources/c.mm",
|
||||
"sources/d.c",
|
||||
"sources/e.cpp",
|
||||
"sources/f.s",
|
||||
"sources/k.kt",
|
||||
"sources/n.metal",
|
||||
])
|
||||
|
@ -105,6 +106,7 @@ final class TargetTests: TuistUnitTestCase {
|
|||
"sources/b.m",
|
||||
"sources/c.mm",
|
||||
"sources/d.c",
|
||||
"sources/f.s",
|
||||
"sources/e.cpp",
|
||||
"sources/n.metal",
|
||||
]))
|
||||
|
|
Loading…
Reference in New Issue