tinysun212
(Han Sang-jin)
1
I executed the command 'swift package init'.
The generated directory 'Tests/' has the file LinuxMain.swift and 'swift build' compiles it. (I think the name of LinuxMain.swift is hard coded in SPM source.)
I am porting (and ported) SPM to Cygwin and other OS. Which is the best choice for the main test file name?
- same name - LinuxMain.swift
- analogous name - CygwinMain.swift
- Newly common name - TestMain.swift or other
I want that many packages are easily compatible with OS X, Linux, Cygwin, etc.
Aciid
(Ankit Aggarwal)
3
I think for now lets stick with LinuxMain.swift but we should think about introducing a more generic file name (like TestMain.swift) as Swift is ported to other platforms.
/cc @ddunbar