Merge pull request #7 from Icinga/remove-asset
Also remove asset upon release
This commit is contained in:
commit
d5c574afa3
|
@ -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/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue