Merge pull request #7 from Icinga/remove-asset

Also remove asset upon release
This commit is contained in:
Johannes Meyer 2021-11-08 14:11:59 +01:00 committed by GitHub
commit d5c574afa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 6 deletions

13
.gitignore vendored
View File

@ -1,4 +1,9 @@
/asset/
/vendor/
/.idea/
.*.sw[op]
# Exclude all hidden files
.*
# Except those related to Git
!.git*
# Exclude assets and dependencies installed by composer
composer.lock
asset/
vendor/

View File

@ -30,8 +30,8 @@ else
BRANCH=$(git rev-parse --abbrev-ref HEAD)
fi
git rm -rf vendor
rm -rf vendor
git rm -rf --ignore-unmatch asset vendor
rm -rf asset vendor
rm -f composer.lock
composer install --no-scripts || fail "composer install failed"
composer run-script post-update-cmd -- copy-assets