Hi,

On Wed, 26 Aug 2020 at 19:50, Abraham Raji <[email protected]> wrote:

> Hey,
>
> Could you give me an example of this implemented in a Debian package (link
> to a repository/commit)? That would really help me. Thanks
>

For test part: this[1] is how it is to be done and this[2] is the command
you probably should use for testing.
For d/install part: If you want to change the stuff that pkg-js-tools
installs, write those entries in debian/nodejs/files, like this[3].
Do note that [1]  and [3] are merely examples for you and would change
according to your package.

You might as well like to give a quick read to pkg-js-tools docs[4].

[1]:
https://salsa.debian.org/js-team/node-strip-ansi/-/blob/master/debian/tests/pkg-js/test
[2]:
https://salsa.debian.org/avron/node-prosemirror-commands/-/blob/master/package.json#L32
[3]:
https://salsa.debian.org/js-team/node-mime/-/blob/master/debian/nodejs/files
[4]:
https://salsa.debian.org/js-team/pkg-js-tools/-/blob/master/doc/tools/README.md#readme

Kind regards
Nilesh
-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to