Skip to content
Sign upLog in
← Back to Community
How to run swift files
Profile icon
HriplyiPlintus

I didn't get what should I write in run button to run swift files (main.swift for example)

Answered by a5rocks [earned 5 cycles]
View Answer
Voters
Profile icon
DiyanFattah
Profile icon
HriplyiPlintus
Comments
hotnewtop
Profile icon
a5rocks

Try this:

run = "cd 'Project with no sense' && swiftc -o ../main main.swift"