Some clean up.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import Cocoa
|
||||
import os
|
||||
|
||||
final class EditableNSTextField: NSTextField {
|
||||
private let commandKey = NSEvent.ModifierFlags.command.rawValue
|
||||
|
||||
@@ -28,15 +28,13 @@ FRAMEWORKS = -framework AppKit -framework ServiceManagement
|
||||
./arm64/%.o: %.swift
|
||||
swift -frontend -c -target arm64-apple-macos$(MACOS_VERSION) $(FLAGS) \
|
||||
-primary-file $< $(filter-out $<, $(SRCMODULES)) $(LIBS) $(FRAMEWORKS) -sdk $(SDK) \
|
||||
-module-name $(EXEC) -o $@ -emit-module
|
||||
@touch $@
|
||||
-module-name $(EXEC) -o $@ -emit-module && touch $@
|
||||
|
||||
ifdef UNIVERSAL
|
||||
./x86_64/%.o: %.swift
|
||||
@swift -frontend -c -target x86_64-apple-macos$(MACOS_VERSION) \
|
||||
$(FLAGS) -primary-file $< $(filter-out $<, $(SRCMODULES)) $(LIBS) $(FRAMEWORKS) \
|
||||
-sdk $(SDK) -module-name $(EXEC) -o $@ -emit-module
|
||||
@touch $@
|
||||
-sdk $(SDK) -module-name $(EXEC) -o $@ -emit-module && touch $@
|
||||
endif
|
||||
|
||||
./arm64/$(EXEC): $(ARMOBJMODULES)
|
||||
|
||||
@@ -114,7 +114,6 @@ class SearchViewController: NSViewController, NSTextFieldDelegate,
|
||||
constant: ViewConstants.spacing10),
|
||||
programsLabel.trailingAnchor.constraint(
|
||||
equalTo: searchInput.trailingAnchor),
|
||||
|
||||
])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user