aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile15
2 files changed, 10 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index aab868c..7bd5838 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,7 +8,7 @@ media/*
render/
dist/
vendor/*
-node_modules/*
+node_modules/
config.json
error_log
!README.md
diff --git a/Makefile b/Makefile
index fd30261..bef37ef 100644
--- a/Makefile
+++ b/Makefile
@@ -12,14 +12,17 @@ dist: distclean $(zip_release)
dist/w_cms_%.zip: all
@echo "Building Zip release..."
mkdir -p $(dir $@)
+ git archive --format=zip HEAD -o $@
+ zip -d $@ \
+ "src*" \
+ .gitignore \
+ composer.lock \
+ Makefile \
+ "package*" \
+ webpack.config.js
zip -r $@ \
- app \
- assets \
+ assets/js \
vendor \
- .htaccess \
- index.php \
- LICENSE.md \
- README.md \
-x "*test*" \
-x "*docs*"