diff options
| author | EuAndreh <eu@euandre.org> | 2025-01-06 13:51:03 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2025-01-06 13:51:03 -0300 |
| commit | f3bffc527d5f7a440da642f8c9e3a171b81153f2 (patch) | |
| tree | bff5b0a918bc108dc504cd14f2aedbebdef28fbe /Makefile | |
| parent | Cleanup repo, reinit in sh (diff) | |
| download | gistatic-f3bffc527d5f7a440da642f8c9e3a171b81153f2.tar.gz gistatic-f3bffc527d5f7a440da642f8c9e3a171b81153f2.tar.xz | |
m
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -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 |
