jepsen-io / maelstrom

A workbench for writing toy implementations of distributed systems.
Eclipse Public License 1.0
3.05k stars 189 forks source link

Allow maelstrom to be executed from anywhere #46

Closed philippgille closed 1 year ago

philippgille commented 1 year ago

When working on code for one of the scenarios, for example in ~/challenge/echo, you first have to switch to /path/to/maelstrom to then execute ./maelstrom ... --bin ~/challenge/echo/echo ....

This is a bit cumbersome, and can also lead to mixing up the proper binary path (as I did myself here).

With the proposed change, you can stay in ~/challenge/echo and execute /path/to/maelstrom/maelstrom ... --bin ./echo ....

philippgille commented 1 year ago

PS: Tested on Fedora Linux

aphyr commented 1 year ago

Thanks!