This commit is contained in:
retropikzel 2026-01-29 09:24:54 +02:00
parent f4de1c4847
commit c29e90f8c0
2 changed files with 14 additions and 14 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
testvenv
venv
compile-test
*.link
test

View File

@ -8,20 +8,20 @@ all: build
build:
@echo "No build step, just install"
init-testvenv:
./scheme-venv ${SCHEME} ${RNRS} testvenv
init-venv:
./scheme-venv ${SCHEME} ${RNRS} venv
test-script: init-testvenv
@if [ "${RNRS}" = "r6rs" ]; then ./testvenv/bin/akku install chez-srfi; fi
@if [ "${RNRS}" = "r6rs" ]; then ./testvenv/bin/scheme-script test.sps; fi
@if [ "${RNRS}" = "r7rs" ]; then ./testvenv/bin/snow-chibi install --always-yes retropikzel.hello; fi
@if [ "${RNRS}" = "r7rs" ]; then ./testvenv/bin/scheme-script test.scm; fi
test-script: init-venv
@if [ "${RNRS}" = "r6rs" ]; then ./venv/bin/akku install chez-srfi; fi
@if [ "${RNRS}" = "r6rs" ]; then ./venv/bin/scheme-script test.sps; fi
@if [ "${RNRS}" = "r7rs" ]; then ./venv/bin/snow-chibi install --always-yes retropikzel.hello; fi
@if [ "${RNRS}" = "r7rs" ]; then ./venv/bin/scheme-script test.scm; fi
test-compile: init-testvenv
@if [ "${RNRS}" = "r6rs" ]; then ./testvenv/bin/akku install chez-srfi; fi
@if [ "${RNRS}" = "r6rs" ]; then ./testvenv/bin/scheme-compile test.sps && ./test; fi
@if [ "${RNRS}" = "r7rs" ]; then ./testvenv/bin/snow-chibi install --always-yes retropikzel.hello; fi
@if [ "${RNRS}" = "r7rs" ]; then ./testvenv/bin/scheme-compile test.scm && ./test; fi
test-compile: init-venv
@if [ "${RNRS}" = "r6rs" ]; then ./venv/bin/akku install chez-srfi; fi
@if [ "${RNRS}" = "r6rs" ]; then ./venv/bin/scheme-compile test.sps && ./test; fi
@if [ "${RNRS}" = "r7rs" ]; then ./venv/bin/snow-chibi install --always-yes retropikzel.hello; fi
@if [ "${RNRS}" = "r7rs" ]; then ./venv/bin/scheme-compile test.scm && ./test; fi
build-docker-image:
docker build -f Dockerfile.test --tag=${DOCKERTAG}
@ -40,4 +40,4 @@ uninstall:
@-rm ${PREFIX}/bin/scheme-venv
clean:
rm -rf testvenv
rm -rf venv