aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile21
1 files changed, 19 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 96d228f..3482494 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ CONTRIBLANGS =
.SUFFIXES:
-.SUFFIXES: .c .o .to .in
+.SUFFIXES: .in
.in:
sed \
@@ -38,7 +38,24 @@ tests/resources/repositories/repo-1/.git \
tests/resources/repositories/repo-2/.git:
ln -s .gitdir $@
-check: all gistatic-tests \
+
+shellcheck:
+ shellcheck src/gistatic.in
+
+emit-index: src/gistatic
+ rm -rf tmp/index/
+ ./src/gistatic -i -o tmp/index/ ~/dev/published/git-permalink/ ../capim/ ../libedn/ ../listatic/ ../lisp-cli/
+ ln -rfs tmp/git-permalink tmp/index/git-permalink
+
+emit-repo: src/gistatic
+ rm -rf tmp/git-permalink/
+ time ./src/gistatic -o tmp/git-permalink/ -u FIXME-url-1 ~/dev/published/git-permalink/
+
+run: shellcheck emit-index emit-repo
+
+
+
+check: all \
tests/resources/repositories/repo-1/.git \
tests/resources/repositories/repo-2/.git
sh tests/build-sample.sh