ajalt / clikt

Multiplatform command line interface parsing for Kotlin
https://ajalt.github.io/clikt/
Apache License 2.0
2.54k stars 121 forks source link

Feature request: add a WASM target #438

Closed ZacSweers closed 6 months ago

ZacSweers commented 1 year ago

Even if it's just experimental, would be helpful for applications that are testing support and use clikt

ajalt commented 1 year ago

So I looked into this and it seems that the wasm source set is somehow a dependency of the js source set, so jsTest fails to configure. If you know of some workaround, let me know.

Once kotest adds a wasm target, I'll try again. That probably won't happen until coroutines has a stable release with wasm support, though.