Join Slack
Curious question - I noticed that “common” or imported script files in the <samples repo> use `*.sma...
# scripting
z
Zac Sweers
03/03/2022, 5:09 PM
Curious question - I noticed that “common” or imported script files in the
samples repo
use
*.smain.kts
, and I was curious if that
smain
naming is a convention or something else? I couldn’t find any other references explaining it in google searches
r
rnett
03/03/2022, 9:11 PM
It's for the
example script def
, see
https://github.com/Kotlin/kotlin-script-examples/blob/master/jvm/simple-main-kts/SimpleMainKts.md
z
Zac Sweers
03/03/2022, 10:05 PM
but why does the example do that?
r
rnett
03/03/2022, 11:01 PM
That I don't know
3
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by