Create basic routine to automatically build a new release
This commit is contained in:
parent
07661dcb3e
commit
a2526182f5
21
Makefile
21
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user