diff options
| author | EuAndreh <eu@euandre.org> | 2025-05-02 18:25:16 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2025-05-02 18:25:16 -0300 |
| commit | 7b9c475de4d30a909a0f4da4c0a2f754498f7f0e (patch) | |
| tree | fdf96d022b4d9c213c2de5e8d26168cbe93faa37 /Makefile | |
| parent | Makefile: Clean-up old stuff (diff) | |
| download | gistatic-7b9c475de4d30a909a0f4da4c0a2f754498f7f0e.tar.gz gistatic-7b9c475de4d30a909a0f4da4c0a2f754498f7f0e.tar.xz | |
WIP: Commit sh code as-is
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -41,6 +41,20 @@ side-assets = \ ## and installation. all: $(derived-assets) +tests/resources/repositories/repo-1/.git \ +tests/resources/repositories/repo-2/.git: + ln -s .gitdir $@ + +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-unit: @@ -53,6 +67,10 @@ check-integration: ## build can run tests at the same time. The required artifacts ## are created if missing. check: check-unit check-integration +# tests/resources/repositories/repo-1/.git +# tests/resources/repositories/repo-2/.git +# sh tests/build-sample.sh +# sh tests/integration.sh |
