Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile added to simplify release process #37

Merged
merged 1 commit into from
Apr 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
build-module-zip: build-composer build-zip

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

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