what is the role of the bat/ directory? #724
Replies: 3 comments
-
|
Hi! Those files are used to do syntax highlighting for snippets in presentation. Specifically, the
These 2 files are necessary for presenterm to function correctly, otherwise you'll have no syntax highlighting at all for any languages. When presenterm is built, it will embed the contents of those files so they're available to highlight code in presentation snippets. As for copyright concerns, the |
Beta Was this translation helpful? Give feedback.
-
|
So as I understand it, the files In the matter of copyright, I would say that there is nothing wrong with what you are doing. You are adding proper copyright information for all the components, which is a great thing. If what I am going to do works, it will not have the acknowledgements for bat itself, but I can live with that. In the case of my packaging bat will be a dependency anyway, so I don't think I will be neglecting it per se. |
Beta Was this translation helpful? Give feedback.
-
|
Well, I managed to work it out with the packaged bat and also made sure it outputs the same things as here. All is well :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Let me first explain the context of my question a bit. I am packaging presenterm for debian and I have basically a fully working packaging. But I am bit confused by the role of the
bat/directory. It basically contains scripts to clone third party repositories, precompiled binaries, etc., and results in some complicated copyright scenario. In debian where we have to care about copyrights a lot, I am very confused by some of it. And another thing is that, I don't know how exactly it is supposed to be working either, in the sense that whether this directory has any role in the build itself, and also if there will be any problems per se if I remove the whole directory from the source.I understand bat is relied upon for syntax highlighting, but I don't get what role the
bat/directory itself plays in that. From the short read I gave it, what I understand is it probably caters to--acknowledgementsCLI flag. Is there an extended usage?The easiest solution for me to deal with this is to drop the directory itself from the source, and patch out the CLI flag if that is affected. But that is given it does not affect anything else. What is the sensible thing to do here? Note that internet access during biuild time or precompiled files in soure are not allowed in debian, so there is more reasons to go this root.
Beta Was this translation helpful? Give feedback.
All reactions