amuletml / amulet

An ML-like functional programming language
https://amulet.works/
BSD 3-Clause "New" or "Revised" License
324 stars 14 forks source link

Use stack install to copy binary files #267

Closed SquidDev closed 4 years ago

SquidDev commented 4 years ago

Intended as a more long-term and less breaky version of 4eeba0c53ca213ac191c3b6f90f6320834a7b92b. This removes any messing around with the .stack-work directory, and just makes Stack copy the binaries into the result/ directory.

While this does mean that UPX will minify all binary files, rather than just ones copied on the command line, I don't think that's a serious problem. That said, should be easy enough to install into a temporary directory and copy from there if preferred.