Skip to content

Commit ab16f55

Browse files
authored
Merge pull request #37 from Oksydan/release-process
Makefile added to simplify release process
2 parents d9f6810 + 8ab8939 commit ab16f55

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Makefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
build-module-zip: build-composer build-zip
2+
3+
build-zip:
4+
rm -rf is_themecore.zip
5+
cp -Ra $(PWD) /tmp/is_themecore
6+
rm -rf /tmp/is_themecore/config_*.xml
7+
rm -rf /tmp/is_themecore/_theme_dev/node_modules
8+
rm -rf /tmp/is_themecore/.github
9+
rm -rf /tmp/is_themecore/.gitignore
10+
rm -rf /tmp/is_themecore/.php-cs-fixer.cache
11+
rm -rf /tmp/is_themecore/.git
12+
mv -v /tmp/is_themecore $(PWD)/is_themecore
13+
zip -r is_themecore.zip is_themecore
14+
rm -rf $(PWD)/is_themecore
15+
16+
build-composer:
17+
composer install --no-dev -o
18+

0 commit comments

Comments
 (0)