diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 19:52:47 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 19:52:47 +0200 |
commit | a136a427ae82648a0fac533583f68806f931ae8d (patch) | |
tree | e82d3bcaf7b7679a8f8bce97097ab51c1776197b | |
parent | a4f0509a77a39d1ac834d4967e3e8f245de6d68d (diff) | |
download | Shaarli-a136a427ae82648a0fac533583f68806f931ae8d.tar.gz Shaarli-a136a427ae82648a0fac533583f68806f931ae8d.tar.zst Shaarli-a136a427ae82648a0fac533583f68806f931ae8d.zip |
Include assets in the release_archive Makefile target
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -170,6 +170,7 @@ release_tar: composer_dependencies htmldoc translate build_frontend | |||
170 | git archive --prefix=$(ARCHIVE_PREFIX) -o $(ARCHIVE_VERSION).tar HEAD | 170 | git archive --prefix=$(ARCHIVE_PREFIX) -o $(ARCHIVE_VERSION).tar HEAD |
171 | tar rvf $(ARCHIVE_VERSION).tar --transform "s|^vendor|$(ARCHIVE_PREFIX)vendor|" vendor/ | 171 | tar rvf $(ARCHIVE_VERSION).tar --transform "s|^vendor|$(ARCHIVE_PREFIX)vendor|" vendor/ |
172 | tar rvf $(ARCHIVE_VERSION).tar --transform "s|^doc/html|$(ARCHIVE_PREFIX)doc/html|" doc/html/ | 172 | tar rvf $(ARCHIVE_VERSION).tar --transform "s|^doc/html|$(ARCHIVE_PREFIX)doc/html|" doc/html/ |
173 | tar rvf $(ARCHIVE_VERSION).tar --transform "s|^tpl|$(ARCHIVE_PREFIX)tpl|" tpl/ | ||
173 | gzip $(ARCHIVE_VERSION).tar | 174 | gzip $(ARCHIVE_VERSION).tar |
174 | 175 | ||
175 | ### generate a release zip and include 3rd-party dependencies and translations | 176 | ### generate a release zip and include 3rd-party dependencies and translations |
@@ -180,6 +181,8 @@ release_zip: composer_dependencies htmldoc translate build_frontend | |||
180 | zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)doc/ | 181 | zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)doc/ |
181 | rsync -a vendor/ $(ARCHIVE_PREFIX)vendor/ | 182 | rsync -a vendor/ $(ARCHIVE_PREFIX)vendor/ |
182 | zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)vendor/ | 183 | zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)vendor/ |
184 | rsync -a tpl/ $(ARCHIVE_PREFIX)tpl/ | ||
185 | zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)tpl/ | ||
183 | rm -rf $(ARCHIVE_PREFIX) | 186 | rm -rf $(ARCHIVE_PREFIX) |
184 | 187 | ||
185 | ## | 188 | ## |