[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Minified javascripts in packages



 ❦ 15 avril 2015 10:10 +0200, Jonas Smedegaard <dr@jones.dk> :

>> What I have done so far in my package is to include the concatenated 
>> but unminified js from the upstream (that would be my upstream's 
>> upstream) source tarball in debian/missing-sources. During package 
>> build i use uglifyjs (which is already in Debian) to place minified 
>> copies where the app I'm building expects them to be.
>> As mentioned above, what constitutes preferred form of modification 
>> really is a question of who is doing the modification. Upstream uses 
>> the un-concatenated files, but personally, I would find it easier to 
>> modify one big file, at least for something interpreted like 
>> javascript.
>
> What counts is the form preferred by the authors of the code.

Who says that? We can't just invent new rules.
-- 
Use recursive procedures for recursively-defined data structures.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature


Reply to: