diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/languages/javascript/nodejs/files-nodejs | |
parent | Initial commit. (diff) | |
download | lintian-upstream.tar.xz lintian-upstream.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/languages/javascript/nodejs/files-nodejs')
7 files changed, 26 insertions, 0 deletions
diff --git a/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/debian/install b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/debian/install new file mode 100644 index 0000000..1b91047 --- /dev/null +++ b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/debian/install @@ -0,0 +1 @@ +usr/ diff --git a/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/debian/rules b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/debian/rules new file mode 100755 index 0000000..22e3438 --- /dev/null +++ b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f +PKG:=files-nodejs +INSTPATH:=$(CURDIR)/debian/tmp/usr/share/nodejs + + +%: + dh $@ + +override_dh_install: + mkdir -p $(INSTPATH) + cp src/test.js $(INSTPATH)/test.js + cp src/test.json $(INSTPATH)/package.json + dh_install + + + diff --git a/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/fill-values b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/fill-values new file mode 100644 index 0000000..36fb14a --- /dev/null +++ b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-nodejs +Description: Check for nodejs problems diff --git a/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/orig/src/test.js b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/orig/src/test.js new file mode 100644 index 0000000..ca538a6 --- /dev/null +++ b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/orig/src/test.js @@ -0,0 +1 @@ +/* test.js */
\ No newline at end of file diff --git a/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/orig/src/test.json b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/orig/src/test.json new file mode 100644 index 0000000..f0a3f50 --- /dev/null +++ b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/build-spec/orig/src/test.json @@ -0,0 +1 @@ +/* json test */
\ No newline at end of file diff --git a/t/recipes/checks/languages/javascript/nodejs/files-nodejs/eval/desc b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/eval/desc new file mode 100644 index 0000000..a86d3e5 --- /dev/null +++ b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/eval/desc @@ -0,0 +1,2 @@ +Testname: files-nodejs +Check: languages/javascript/nodejs diff --git a/t/recipes/checks/languages/javascript/nodejs/files-nodejs/eval/hints b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/eval/hints new file mode 100644 index 0000000..bd11eea --- /dev/null +++ b/t/recipes/checks/languages/javascript/nodejs/files-nodejs/eval/hints @@ -0,0 +1,2 @@ +files-nodejs (binary): node-package-install-in-nodejs-rootdir [usr/share/nodejs/test.js] +files-nodejs (binary): node-package-install-in-nodejs-rootdir [usr/share/nodejs/package.json] |