Hi Guixers

I'm trying to package chroma [1] here [2]. Inside the source the `//go:embed` preprocessor is used which does not support symbolic links. But all source code is symbolicly linked into the build directory, therefore the build is failing at this point. How can I copy all files from directory [3] instead of symbolicly linking them? I already tried replacing the symbolic link with a canonical path, but `//go:embed` expects all files to be in the source directory, so copy is the only option.

Thanks for any help.

Cheers Reza

[1] https://github.com/alecthomas/chroma
[2] https://pastebin.com/NwaxfhJS
[3] https://github.com/alecthomas/chroma/tree/master/lexers/embedded
--
Reza Housseini

This message is signed with my GnuPG key:

    C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52

Attachment: OpenPGP_0xC375C6AF05125C52.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to