Skip to content

Commit

Permalink
Makefile doc target and pack file
Browse files Browse the repository at this point in the history
  • Loading branch information
rla committed Jan 28, 2014
1 parent d589bc6 commit 2284113
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
doc
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
test:
swipl -s tests/tests.pl -g run_tests,halt -t 'halt(1)'

.PHONY: test
doc:
swipl -q -t 'doc_save(prolog/st, [doc_root(doc),format(html),title(simple_template),if(true),recursive(true)])'

.PHONY: test doc
5 changes: 5 additions & 0 deletions pack.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name(simple_template).
version('0.0.1').
title('Logic-free text (HTML) templates').
author('Raivo Laanemets', 'http://rlaanemets.com/').
home('https://github.com/rla/simple-template').

0 comments on commit 2284113

Please sign in to comment.