1
0
forked from adphi/occweb

build dist

This commit is contained in:
Adphi 2019-01-19 16:52:40 +01:00
parent 5e7da4b5c7
commit 2325df3667

View File

@ -115,41 +115,41 @@ dist:
source:
rm -rf $(source_build_directory)
mkdir -p $(source_build_directory)
tar cvzf $(source_package_name).tar.gz ../$(app_name) \
--exclude-vcs \
--exclude="../$(app_name)/build" \
--exclude="../$(app_name)/js/node_modules" \
--exclude="../$(app_name)/node_modules" \
--exclude="../$(app_name)/*.log" \
--exclude="../$(app_name)/js/*.log" \
tar cvzf $(source_package_name).tar.gz ../$(app_name)
# --exclude-vcs \
# --exclude="../$(app_name)/build" \
# --exclude="../$(app_name)/js/node_modules" \
# --exclude="../$(app_name)/node_modules" \
# --exclude="../$(app_name)/*.log" \
# --exclude="../$(app_name)/js/*.log" \
# Builds the source package for the app store, ignores php and js tests
.PHONY: appstore
appstore:
rm -rf $(appstore_build_directory)
mkdir -p $(appstore_build_directory)
tar cvzf $(appstore_package_name).tar.gz ../$(app_name) \
--exclude-vcs \
--exclude="../$(app_name)/build" \
--exclude="../$(app_name)/tests" \
--exclude="../$(app_name)/Makefile" \
--exclude="../$(app_name)/*.log" \
--exclude="../$(app_name)/phpunit*xml" \
--exclude="../$(app_name)/composer.*" \
--exclude="../$(app_name)/js/node_modules" \
--exclude="../$(app_name)/js/tests" \
--exclude="../$(app_name)/js/test" \
--exclude="../$(app_name)/js/*.log" \
--exclude="../$(app_name)/js/package.json" \
--exclude="../$(app_name)/js/bower.json" \
--exclude="../$(app_name)/js/karma.*" \
--exclude="../$(app_name)/js/protractor.*" \
--exclude="../$(app_name)/package.json" \
--exclude="../$(app_name)/bower.json" \
--exclude="../$(app_name)/karma.*" \
--exclude="../$(app_name)/protractor\.*" \
--exclude="../$(app_name)/.*" \
--exclude="../$(app_name)/js/.*" \
tar cvzf $(appstore_package_name).tar.gz ../$(app_name)
# --exclude-vcs \
# --exclude="../$(app_name)/build" \
# --exclude="../$(app_name)/tests" \
# --exclude="../$(app_name)/Makefile" \
# --exclude="../$(app_name)/*.log" \
# --exclude="../$(app_name)/phpunit*xml" \
# --exclude="../$(app_name)/composer.*" \
# --exclude="../$(app_name)/js/node_modules" \
# --exclude="../$(app_name)/js/tests" \
# --exclude="../$(app_name)/js/test" \
# --exclude="../$(app_name)/js/*.log" \
# --exclude="../$(app_name)/js/package.json" \
# --exclude="../$(app_name)/js/bower.json" \
# --exclude="../$(app_name)/js/karma.*" \
# --exclude="../$(app_name)/js/protractor.*" \
# --exclude="../$(app_name)/package.json" \
# --exclude="../$(app_name)/bower.json" \
# --exclude="../$(app_name)/karma.*" \
# --exclude="../$(app_name)/protractor\.*" \
# --exclude="../$(app_name)/.*" \
# --exclude="../$(app_name)/js/.*" \
.PHONY: test
test: composer