diff options
author | Daniel Baumann <daniel@debian.org> | 2024-12-12 11:57:01 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-12-12 11:57:01 +0100 |
commit | 8e29081b9d01c2e1177adb00224cc04ee4dd7642 (patch) | |
tree | c6b8ad3aab9eacab43fa63160cfbdf2adc1371b5 /Makefile | |
parent | Initial commit. (diff) | |
download | ablog-8e29081b9d01c2e1177adb00224cc04ee4dd7642.tar.xz ablog-8e29081b9d01c2e1177adb00224cc04ee4dd7642.zip |
Adding upstream version 0.11.12.upstream/0.11.12upstream
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b8ddd5f --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +.PHONY: demo rebuild tests + +demo: + rm -rf demo && mkdir demo + printf "demo\nABlog\nABlog Team\nhttps://ablog.readthedocs.io/" | ablog start + +rebuild: + cd docs; watchmedo shell-command --patterns='*.rst' --command='ablog build' --recursive + +test: + set -e; cd docs; git clean -xfd; ablog build -T -W; git clean -xfd; cd .. + +test1: + set -e; cd docs; git clean -xfd; ablog build -T -W -b json; git clean -xfd; cd .. + +test2: + set -e; cd docs; git clean -xfd; ablog build -T -W -b pickle; git clean -xfd; cd .. + +test3: + set -e; mkdir -p test; cd test; git clean -xfd; printf "\nABlog\nABlog Team\nhttps://ablog.readthedocs.io/" | ablog start; ablog build -W; cd ..; rm -rf test + +test4: + set -e; mkdir -p testablog; cd testablog; git clean -xfd; printf "\nABlog\nABlog Team\nhttps://ablog.readthedocs.io/" | ablog start; ablog build -W; cd ..; rm -rf testablog + +test5: + set -e; cd docs; git clean -xfd; ablog build -W -b latex -T -d .doctrees -w _latex; git clean -xfd; cd .. + +tests: test test1 test2 test3 test4 test5 |