rules_hugo
rules_hugo copied to clipboard
hugo_repository.sha256 breaks cross-platform compatibility
hugo_repository.sha256has no default value(s), and thus is offloaded to the user- Because there is no map of
platform_archive_name:sha, when a user specifies a sha, it is for a specific archive on a specific platform.
What about using select? Wouldn't it work in this case? You can also ignore it entirely and pass your own executable to hugo_site, which might be a workaround (as far as I understand the current implementation of hugo_repository, it wouldn't work properly in a remote execution context involving different OSs either).
Edit: my bad, select doesn't work in the workspace.