Closed mickeyl closed 2 years ago
Which logic is mint applying to find the executable? I've been trying to mint install Automotive-Swift/ELMpersonator, but keep getting:
mint install Automotive-Swift/ELMpersonator
🌱 Executable product not found in ELMpersonator 0.5.2
The relevant part of the Package.swift looks like that:
Package.swift
.executableTarget( name: "ELMpersonator", dependencies: [ .product(name: "ECUmulation", package: "ECUmulator"), .product(name: "ECUmulation-Specs", package: "ECUmulator"), .product(name: "ArgumentParser", package: "swift-argument-parser"), "Swift-CAN", .product(name: "Swift-SocketCAN", package: "Swift-SocketCAN", condition: .when(platforms: [.linux])), .product(name: "Swift-TouCAN", package: "Swift-TouCAN", condition: .when(platforms: [.macOS])), "Swift-UDS", "LineNoise", .product(name: "SocketSwift", package: "Socket.swift"), "Rainbow" ] ),
Am I missing anything?
Ok, apparently an executable target is not an executable product. Sorry for the noise.
Which logic is mint applying to find the executable? I've been trying to
mint install Automotive-Swift/ELMpersonator
, but keep getting:The relevant part of the
Package.swift
looks like that:Am I missing anything?