Hi,
I’ve made a little library with Kotlin and wanted to test it. So i’ve made a couple of test in Kotlin and run it with github actions. My workflow run a bash script for ubuntu and mac and a batch script for windows. Inside my batch script i have :
:: Compile tests
kotlinc -cp Logger_Kotlin.jar ./test/*.kt -include-runtime
:: Run tests
kotlin -cp Logger_Kotlin.jar; MainKt
But the first command didn’t works, it returns me this error error: source file or directory not found: ./test/*.kt
. I didn’t understand why it didn’t works while it works with ubuntu and mac.
I’ve tried to just compile ./test/main.kt
and it works (if found the file but it doesn’t compile due to missing files).
Someone have an idea of what i could do to fix this ?
Thanks