Bug 32994: Remove compiled files from src (2)
authorMason James <mtj@kohaaloha.com>
Fri, 17 Feb 2023 12:21:16 +0000 (01:21 +1300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 22 Feb 2023 13:03:25 +0000 (10:03 -0300)
this patch adds 2 files that stops dpkg-source from including ./node_modules dir into koha-common.deb package

to test...
 - build a package, note failure
 - apply patch
 - build a package, note success

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
debian/clean [new file with mode: 0644]
debian/source/options [new file with mode: 0644]

diff --git a/debian/clean b/debian/clean
new file mode 100644 (file)
index 0000000..c2658d7
--- /dev/null
@@ -0,0 +1 @@
+node_modules/
diff --git a/debian/source/options b/debian/source/options
new file mode 100644 (file)
index 0000000..e0262ae
--- /dev/null
@@ -0,0 +1 @@
+tar-ignore = "node_modules"