Script Snippet: Swift Packages
From Coder Merlin
Revision as of 21:03, 29 May 2019 by Chukwuemeka-tinashe (talk | contribs)
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Create a new Swift Package for an Executable[edit]
swift package init --type executable
Remove the build artifacts of a Swift Package[edit]
swift package reset
Build a Swift Package in default debug mode[edit]
swift build
Build a Swift Package for debugging in lldb[edit]
swift build -Xswiftc -g
Build a Swift Package in release mode[edit]
swift build