tindzk / seed

Build tool for Scala projects
https://tindzk.github.io/seed/
Apache License 2.0
236 stars 13 forks source link

Use ZIO instead of Futures #36

Closed tindzk closed 5 years ago

tindzk commented 5 years ago

The motivation for using ZIO is that it propagates errors better. For example, if any of the executed commands fails, the entire execution pipeline should be interrupted.

Previously, we relied on a simple workaround to implement this behaviour by calling sys.exit(). However, when Seed is running in server mode, any failing command will shut down the server which is undesired.