From 002203df1652eb0469b1b4f139951707fcfb5cac Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 12 Jul 2025 09:31:27 +0300 Subject: [PATCH] Rename some files --- Dockerfile => Dockerfile.test | 0 Makefile | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) rename Dockerfile => Dockerfile.test (100%) diff --git a/Dockerfile b/Dockerfile.test similarity index 100% rename from Dockerfile rename to Dockerfile.test diff --git a/Makefile b/Makefile index 150b496..f63f3c1 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ SCHEME=chibi all: build +container: + docker build -f Dockerfile --tag=compile-r7rs + build: deps echo "#!/bin/sh" > compile-r7rs echo "chibi-scheme -A ${PREFIX}/lib/compile-r7rs ${PREFIX}/lib/compile-r7rs/main.scm \$$@" >> compile-r7rs @@ -36,7 +39,7 @@ test-r6rs: @grep "Test successfull" /tmp/compile-r7rs-test-result.txt || (echo "Test failed, output: " && cat /tmp/compile-r7rs-test-result.txt && exit 1) test-r6rs-docker: - docker build --build-arg COMPILE_R7RS=${SCHEME} --tag=compile-r7rs-test-${SCHEME} . + docker build -f Dockerfile.test --build-arg COMPILE_R7RS=${SCHEME} --tag=compile-r7rs-test-${SCHEME} . docker run -v "${PWD}":/workdir -w /workdir -t compile-r7rs-test-${SCHEME} sh -c "make && make install && make clean-test COMPILE_R7RS=${SCHEME} test-r6rs" test-r7rs: