cbeust / kobalt

A Kotlin-based build system for the JVM.
Apache License 2.0
433 stars 60 forks source link

Added test to check if kobaltw is executable (*nix only.) #404

Closed ethauvin closed 7 years ago

ethauvin commented 7 years ago

Fix for #401

Unfortunately, there is no way determine if a file is executable on Windows, it assumes that any file your own is executable. I'm displaying a warning in that case (which might be overkill), but it will work on MacOS, Linux, etc.

I've looked in ways of determining if a zipEntry is executable, no luck there. I've even looked at ACL under Windows, no go either.