Trigger full build when add-on is removed (#14680)
Signed-off-by: Wouter Born <github@maindrain.net>pull/14688/head
parent
cbb72ed72e
commit
8dd0028315
|
@ -94,7 +94,10 @@ function build_addon() {
|
|||
|
||||
function build_based_on_changes() {
|
||||
local changed_addon=$(changed_addons | xargs)
|
||||
if [ $(echo $changed_addon | wc -w) -eq 1 ] && [ $(addon_unrelated_changed_files $changed_addon | wc -l) -eq 0 ]; then
|
||||
if [ $(echo $changed_addon | wc -w) -eq 1 ] && \
|
||||
[ $(addon_unrelated_changed_files $changed_addon | wc -l) -eq 0 ] && \
|
||||
[ -d "./bundles/$changed_addon" ]
|
||||
then
|
||||
build_addon $changed_addon
|
||||
else
|
||||
build_all
|
||||
|
|
Loading…
Reference in New Issue