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 compile-test
*.link *.link
test test

View File

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