[smc-discuss] [Git][smc/dyuthi][master] Enable CI

Balasankar C gitlab at mg.gitlab.com
Sat Dec 31 03:20:03 PST 2016


Balasankar C pushed to branch master at SMC / Dyuthi


Commits:
0cbbdfdc by Balasankar C at 2016-12-31T16:49:21+05:30
Enable CI

- - - - -


1 changed file:

- Makefile


Changes:

=====================================
Makefile
=====================================
--- a/Makefile
+++ b/Makefile
@@ -27,9 +27,16 @@ install: compile
 		install -D -m 0644 $${font}.ttf ${DESTDIR}/${fontpath}/$${font}.ttf;\
 	done;
 
-test: compile
-# Test the fonts
+ifeq ($(shell ls -l *.ttf 2>/dev/null | wc -l),0)
+test: compile run-test
+else
+test: run-test
+endif
+
+run-test:
 	@for font in `echo ${fonts}`; do \
 		echo "Testing font $${font}";\
-		hb-view $${font}.ttf --text-file tests/tests.txt --output-file tests/$${font}.pdf;\
+		hb-view $${font}.ttf --font-size 14 --margin 100 --line-space 1.5 --foreground=333333  --text-file tests/tests.txt --output-file tests/$${font}.pdf;\
 	done;
+clean:
+	@rm -rf *.otf *.ttf *.woff *.woff2 *.sfd-* tests/*.pdf



View it on GitLab: https://gitlab.com/smc/dyuthi/commit/0cbbdfdcb75388faa136759b9b1f9363193a0205
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.smc.org.in/pipermail/discuss-smc.org.in/attachments/20161231/0eff4c21/attachment.html>


More information about the discuss mailing list