On 15 September 2014 20:19, Andrew Kelley <superjo...@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.

_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to