[Pkg-javascript-devel] how to build jsondiffpatch?

Leo Iannacone l3on at ubuntu.com
Mon Sep 15 18:28:52 UTC 2014


On 15 September 2014 20:19, Andrew Kelley <superjoe30 at gmail.com> wrote:
> I am working on packaging jsondiffpatch:
> https://github.com/benjamine/jsondiffpatch
>
> This would be:
>
> Source package: jsondiffpatch.js
> Node package: node-jsondiffpatch
> libjs package: libjs-jsondiffpatch
>
> Node package part is done. The hard part is the libjs package. The
> repository ships with build/* containing generated files. So I have excluded
> those in a dfsg tarball.
>
> However now we must build those files ourselves. The way it is done is with
> gulp:
>
> build: node_modules
> @./node_modules/.bin/gulp build
>
> gulp is not in debian and it would take a lot of work to get it there:

You could try to understand what's going on in Gulpfile.js and
override_dh_auto_build with a similar workflow.

> Additionally, all the gulp stuff is apparently calling browserify, so that
> build-dependency is dragged in too! x.x
>
> What can we do?

Ok (IMHO) for now build only node-jsondiffpatch.
browserify needs more attention.



More information about the Pkg-javascript-devel mailing list