Disable sparkle for test builds

This commit is contained in:
Maurice Parker 2019-10-22 16:13:08 -05:00
parent 2e385829c0
commit d4816506f2
2 changed files with 0 additions and 8 deletions

View File

@ -13,9 +13,6 @@ import RSTree
import RSWeb
import Account
import RSCore
#if TEST
import Sparkle
#endif
var appDelegate: AppDelegate!
@ -117,10 +114,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
func applicationWillFinishLaunching(_ notification: Notification) {
installAppleEventHandlers()
#if TEST
// Don't prompt for updates while running automated tests
SUUpdater.shared()?.automaticallyChecksForUpdates = false
#endif
}
func applicationDidFinishLaunching(_ note: Notification) {

View File

@ -1,4 +1,3 @@
#include "./NetNewsWire_project_debug.xcconfig"
OTHER_SWIFT_FLAGS = -DTEST $(inherited)
FRAMEWORK_SEARCH_PATHS = $(inherited) $(SYMROOT)/Release$(EFFECTIVE_PLATFORM_NAME)