SwiftXcode / swift-lambda

Build and deploy Swift Package Manager projects on AWS Lambda
Apache License 2.0
24 stars 1 forks source link

Discover installed xtoolchain (instead of tying it to the host version) #1

Open helje5 opened 4 years ago

helje5 commented 4 years ago

At least for now it's the sole toolchain anyways ...

Maybe it should work like that: if the user didn't specify -d / --destination and the corresponding env var is empty, look whether there is a single amazonlinux toolchain in /usr/local/lib/swift/dst/arch/* and just use that.