From 8ab8939ae58c338425284b6053c7b9142a315f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Ste=CC=A8pien=CC=81?= Date: Sun, 23 Apr 2023 23:35:16 +0200 Subject: [PATCH] Makefile added to simplify release process --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ab42e27 --- /dev/null +++ b/Makefile @@ -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 +