Skip to content

Commit

Permalink
added gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtich committed Mar 29, 2011
1 parent 8d29a2d commit 5bbaaf0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# documentation ($ make doc)
doc
gh-pages

# temporary files and other junk
*~
Expand Down
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@

.PHONY: all clean doc install test
.PHONY: test doc update-doc clean


test:
@export LUA_PATH='$(CURDIR)/src/?.lua;$(CURDIR)/test/?.lua' && lua test/run_tests.lua

doc:
luadoc -d docs src/*.lua scripts/*.lua
@rm -rf doc
luadoc -d doc src/*.lua scripts/*.lua

update-doc: doc
./gh-pages/update

clean:
rm -rf docs
rm -rf doc

0 comments on commit 5bbaaf0

Please sign in to comment.