ta0kira / zeolite

Zeolite is a statically-typed, general-purpose programming language.
Apache License 2.0
18 stars 0 forks source link

Make the default location of compiled binaries relative to their modules. #30

Closed ta0kira closed 4 years ago

ta0kira commented 4 years ago

This is most noticeable when compiling the examples. This leads to the awkward situation where zeolite -r is going to write the binary to whatever $PWD was at the time the user compiled it the first time.

ta0kira commented 4 years ago

This is still slightly broken in cases where the -o path isn't absolute.

For example, -o ../foo is going to use $PWD/../foo for output when -r is used, whereas -o foo is going to always output to the module path regardless of $PWD.