Skip to content

Commit

Permalink
Update Swift test program
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Dec 27, 2024
1 parent 08a7631 commit c2c3705
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 54 deletions.
1 change: 0 additions & 1 deletion package/swift-hello/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ config BR2_PACKAGE_SWIFT_HELLO
bool "swift-hello"
depends on BR2_PACKAGE_SWIFT
select BR2_PACKAGE_SWIFT_FOUNDATION
select BR2_PACKAGE_XCTEST
help
Demo application for Swift.

Expand Down
6 changes: 1 addition & 5 deletions package/swift-hello/src/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ let package = Package(
.executableTarget(
name: "swift-hello",
dependencies: []
),
.testTarget(
name: "swift-helloTests",
dependencies: ["swift-hello"]
),
)
]
)

This file was deleted.

2 changes: 1 addition & 1 deletion package/swift-hello/swift-hello.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SWIFT_HELLO_SITE = $(SWIFT_HELLO_PKGDIR)/src
SWIFT_HELLO_SITE_METHOD = local
SWIFT_HELLO_INSTALL_STAGING = NO
SWIFT_HELLO_INSTALL_TARGET = YES
SWIFT_HELLO_DEPENDENCIES = swift swift-foundation xctest
SWIFT_HELLO_DEPENDENCIES = swift swift-foundation
SWIFT_HELLO_EXECUTABLES = swift-hello

$(eval $(swift-package))

0 comments on commit c2c3705

Please sign in to comment.