Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
makefile to ease development and simple smoketest script
- Loading branch information
1 parent
f1b060a
commit 4f62510
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
clean: | ||
sudo rm -rf rst2html5_tools.egg-info build smoketestoutput | ||
|
||
install: | ||
sudo python setup.py install | ||
|
||
smoketest: | ||
./smoketest.sh | ||
rm -rf smoketestoutput | ||
|
||
release: | ||
python setup.py sdist upload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env sh | ||
|
||
mkdir -p smoketestoutput | ||
rst2html5 examples/slides.rst > smoketestoutput/clean.html | ||
rst2html5 --deck-js --pretty-print-code --embed-content examples/slides.rst > smoketestoutput/deck.html | ||
rst2html5 --jquery --reveal-js --pretty-print-code examples/slides.rst > smoketestoutput/reveal.html | ||
rst2html5 --stylesheet-path=html5css3/thirdparty/impressjs/css/impress-demo.css --impress-js examples/impress.rst > smoketestoutput/impress.html | ||
rst2html5 --bootstrap-css --pretty-print-code --jquery --embed-content examples/slides.rst > smoketestoutput/bootstrap.html | ||
rst2html5 --pygments examples/codeblock.rst > smoketestoutput/code.html | ||
rst2html5 --jquery --reveal-js --reveal-js-opts theme=serif examples/slides.rst > smoketestoutput/reveal.html | ||
rst2html5 --jquery --reveal-js --reveal-js-opts printpdf=true examples/slides.rst > smoketestoutput/reveal-print.html |