How to use mozilla preprocessor outside of mozilla project?

General discussion and chat (archived)
kevopa

How to use mozilla preprocessor outside of mozilla project?

Unread post by kevopa » 2017-08-08, 19:52

Mozilla codebases contain a preprocessor that works on JS & CSS files. If I want to use it in a non-Mozilla project, how should I do this?
I also cannot find any other links on this topic.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35576
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: How to use mozilla preprocessor outside of mozilla project?

Unread post by Moonchild » 2017-09-01, 14:12

The preprocessor is a Python script. I'm not sure how easy it is to use it outside of the source tree; you'd probably have more luck asking the Mozilla folks since we just use it as an automated in-tree tool (and it wasn't written by us).

You can PM Tobin (memberlist.php?mode=viewprofile&u=1861) if you want details.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked