Skip to content

Commit 89603c4

Browse files
committed
merging with bootstrapped code
1 parent 9f71059 commit 89603c4

4 files changed

Lines changed: 5 additions & 76 deletions

File tree

bin/run-in-docker.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then
2424
fi
2525

2626
slug="$1"
27-
input_dir="${2%/}"
28-
output_dir="${3%/}"
27+
solution_dir=$(realpath "${2%/}")
28+
output_dir=$(realpath "${3%/}")
2929

3030
# Create the output directory if it doesn't exist
3131
mkdir -p "${output_dir}"
3232

3333
# Build the Docker image
34-
docker build --rm -t exercism/lua-test-runner .
34+
docker build --rm -t exercism/moonscript-test-runner .
3535

3636
# Run the Docker image using the settings mimicking the production environment
3737
docker run \
3838
--rm \
3939
--network none \
4040
--read-only \
41-
--mount type=bind,src="${input_dir}",dst=/solution \
41+
--mount type=bind,src="${solution_dir}",dst=/solution \
4242
--mount type=bind,src="${output_dir}",dst=/output \
4343
--mount type=tmpfs,dst=/tmp \
4444
exercism/moonscript-test-runner "${slug}" /solution /output

bin/run-integration-tests-in-docker.sh

Lines changed: 0 additions & 24 deletions
This file was deleted.

bin/run-integration-tests.sh

Lines changed: 0 additions & 47 deletions
This file was deleted.

bin/run-tests-in-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set -e
1414
# ./bin/run-tests-in-docker.sh
1515

1616
# Build the Docker image
17-
docker build --rm -t exercism/lua-test-runner .
17+
docker build --rm -t exercism/moonscript-test-runner .
1818

1919
# Run the Docker image using the settings mimicking the production environment
2020
docker run \

0 commit comments

Comments
 (0)