2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Add cleanup task (#7581)

* [FR] Add invoke task to remove compiled files
Fixes #7559

* add optional clear step before install ensuring clean updates

* add pre-install

* Update preinstall.sh

* Update functions.sh

* Update preinstall.sh

* add a generic run helper to ensure commands run from top directory

* use generic run for other helpers
This commit is contained in:
Matthias Mair
2024-07-09 01:51:52 +02:00
committed by GitHub
parent 9a6cfb4309
commit 3845260106
3 changed files with 61 additions and 21 deletions

View File

@ -14,6 +14,7 @@ env:
- INVENTREE_BACKUP_DIR=/opt/inventree/backup
- INVENTREE_PLUGIN_FILE=/opt/inventree/plugins.txt
- INVENTREE_CONFIG_FILE=/opt/inventree/config.yaml
before_install: contrib/packager.io/preinstall.sh
after_install: contrib/packager.io/postinstall.sh
before:
- contrib/packager.io/before.sh