Create basic routine to automatically build a new release

This commit is contained in:
Christian Wolf 2021-12-03 18:08:39 +01:00
parent 07661dcb3e
commit a2526182f5

View File

@ -13,9 +13,26 @@ all: package
package: $(PACKAGES) package: $(PACKAGES)
.PHONY: npm
npm:
cd slt; npm i
cd slt; npm run sass
.PHONY: slt.tar.gz .PHONY: slt.tar.gz
slt.tar.gz: slt.tar.gz: npm
cd slt ; tar czf ../$@ * # cd slt ; tar czf ../$@ *
tar czf $@ -C slt \
css/dynamic-styles.css.php css/index.html css/style.css css/.htaccess \
html \
images \
js \
language \
favicon.ico \
index.html \
index.php \
template_preview.png \
template_thumbnail.png \
templateDetails.xml
.PHONY: release .PHONY: release
release: slt.tar.gz release: slt.tar.gz