Switch to pkg-js-tools for tests
Pirate Praveen
3 years ago
5 | 5 |
Build-Depends:
|
6 | 6 |
debhelper (>= 11~)
|
7 | 7 |
, nodejs
|
|
8 |
, pkg-js-tools
|
8 | 9 |
, node-tape
|
9 | 10 |
, rollup
|
10 | 11 |
, uglifyjs.terser
|
|
14 | 15 |
Homepage: https://d3js.org/d3-shape/
|
15 | 16 |
Vcs-Git: https://salsa.debian.org/js-team/node-d3-shape.git
|
16 | 17 |
Vcs-Browser: https://salsa.debian.org/js-team/node-d3-shape
|
|
18 |
Testsuite: autopkgtest-pkg-nodejs
|
17 | 19 |
|
18 | 20 |
Package: node-d3-shape
|
19 | 21 |
Architecture: all
|
4 | 4 |
#export DH_VERBOSE=1
|
5 | 5 |
|
6 | 6 |
%:
|
7 | |
dh $@
|
|
7 |
dh $@ --with nodejs
|
8 | 8 |
|
9 | 9 |
override_dh_auto_build:
|
10 | 10 |
rollup -c
|
11 | 11 |
uglifyjs.terser dist/d3-shape.js -o dist/d3-shape.min.js
|
12 | |
|
13 | |
override_dh_auto_test:
|
14 | |
tape 'test/**/*.js'
|
0 | |
Tests: require
|
1 | |
Depends: node-d3-shape
|
2 | |
|
3 | |
Test-Command: tape 'test/**/*-test.js'
|
4 | |
Depends: @, node-tape, node-d3-polygon
|
5 | |
Restrictions: build-needed
|
0 | |
#!/bin/sh
|
1 | |
set -e
|
2 | |
nodejs -e "require('d3-shape');"
|