Skip to content

Commit

Permalink
Merge pull request #30 from Oksydan/release-process
Browse files Browse the repository at this point in the history
Added makefile to simply releases process
  • Loading branch information
Oksydan authored Apr 23, 2023
2 parents 2dc0c1f + 6e8fb79 commit ab13b9a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
build-module-zip: build-composer build-zip

build-zip:
rm -rf is_imageslider.zip
cp -Ra $(PWD) /tmp/is_imageslider
rm -rf /tmp/is_imageslider/config_*.xml
rm -rf /tmp/is_imageslider/.github
rm -rf /tmp/is_imageslider/.gitignore
rm -rf /tmp/is_imageslider/.php-cs-fixer.cache
rm -rf /tmp/is_imageslider/.git
rm -rf /tmp/is_imageslider/img
mkdir /tmp/is_imageslider/img
mv -v /tmp/is_imageslider $(PWD)/is_imageslider
zip -r is_imageslider.zip is_imageslider
rm -rf $(PWD)/is_imageslider

build-composer:
composer install --no-dev -o

0 comments on commit ab13b9a

Please sign in to comment.