]> git.koha-community.org Git - koha.git/commit
Bug 35428: Remove temporary files for gulp po tasks
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 29 Nov 2023 09:02:50 +0000 (10:02 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 4 Jan 2024 18:14:27 +0000 (18:14 +0000)
commit5dfb5312c21a88142678687c0710823dc20b390c
tree1aed7d5c4dfb0a2c85d078c996978baf845bd370
parent31ad2ffd00390f7db61f7a77f2eebb5ebba39e15
Bug 35428: Remove temporary files for gulp po tasks

gulp po:update will generate 1 /tmp/koha-* directory per task.

We need to remove them when the script does not longer need them.

Test plan:
0. Do not apply this patch
1. ls -ltr /tmp
2. gulp po:update --lang es-ES
3. ls -ltr /tmp
=> Notice new koha-* directories
Repeat 2, 3
4. Apply this patch and try again
=> No new directories when the job is done

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit ba7b62d1fc171f346176cd454f86747fea7928f6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit a4a2d02d3c2d6aa8dab3def86800a467a01fc66d)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
gulpfile.js