Builds for Mac OS broken
Closed this issue · 3 comments
The release tgz
for Linux x86 only contains one big executable, where the binaries for OS X are jus stubs, needing access to the src
directory. This is quite inconvenient in terms of (cross platform) scripting and litters /usr/local/bin
(or any other installation directory).
Please provide a uniform file layout across platforms (which would be just one big executable without dependencies to src
). Or don't advertise archives as binary packages, if they really aren't.
One might use a tool like makeself
to emulate such a behaviour.
This is quite inconvenient in terms of (cross platform) scripting and litters
/usr/local/bin
(or any other installation directory).
You can unpack into /opt/sass_embedded
and then symlink /opt/sass_embedded/dart-sass-embedded
into /usr/local/bin
which works cross platform.
Or don't advertise archives as binary packages, if they really aren't.
Remember dart is a vm language. The linux binary is basically architecture-specific aot-snapshot embedded into a dart vm runtime executable. The mac release just has the aot-snapshot and vm executable as separate files so that the vm executable from dart sdk is already code signed. To create a single file like linux, it would require code signing on the single file, which is not yet supported in dart_cli_pkg.