File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 27
27
context : .
28
28
push : false
29
29
load : true
30
- tags : exercism/TRACK_SLUG -representer
30
+ tags : exercism/replace-this-with-the-track-slug -representer
31
31
cache-from : type=gha
32
32
cache-to : type=gha,mode=max
33
33
Original file line number Diff line number Diff line change 1
- # Exercism TRACK_NAME Representer
1
+ # Exercism replace-this-with-the-track-name Representer
2
2
3
- The Docker image to automatically create a representation for TRACK_NAME solutions submitted to [ Exercism] .
3
+ The Docker image to automatically create a representation for replace-this-with-the-track-name solutions submitted to [ Exercism] .
4
4
5
5
## Getting started
6
6
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ required_tool hyperfine
27
27
28
28
# Pre-build the Docker image
29
29
if [ -z " ${SKIP_DOCKER_BUILD} " ]; then
30
- docker build --rm -t exercism/TRACK_SLUG -test-runner .
30
+ docker build --rm -t exercism/replace-this-with-the-track-slug -test-runner .
31
31
else
32
32
echo " Skipping docker build because SKIP_DOCKER_BUILD is set."
33
33
fi
Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ REPO_DIR=$(mktemp -d)
39
39
cp -a . " ${REPO_DIR} "
40
40
cd " ${REPO_DIR} " || die " Failed to cd to ${REPO_DIR} "
41
41
42
- for file in $( git grep --files-with-matches TRACK_SLUG ) ; do
43
- sed -i " s/TRACK_SLUG /${SLUG} /g" " ${file} "
42
+ for file in $( git grep --files-with-matches replace-this-with-the-track-slug ) ; do
43
+ sed -i " s/replace-this-with-the-track-slug /${SLUG} /g" " ${file} "
44
44
done
45
45
46
- for file in $( git grep --files-with-matches TRACK_NAME ) ; do
47
- sed -i " s/TRACK_NAME /${LANGUAGE} /g" " ${file} "
46
+ for file in $( git grep --files-with-matches replace-this-with-the-track-name ) ; do
47
+ sed -i " s/replace-this-with-the-track-name /${LANGUAGE} /g" " ${file} "
48
48
done
49
49
50
50
rm -f bin/bootstrap.sh
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ output_dir="${3%/}"
30
30
mkdir -p " ${output_dir} "
31
31
32
32
# Build the Docker image
33
- docker build --rm -t exercism/TRACK_SLUG -representer .
33
+ docker build --rm -t exercism/replace-this-with-the-track-slug -representer .
34
34
35
35
# Run the Docker image using the settings mimicking the production environment
36
36
docker run \
@@ -40,4 +40,4 @@ docker run \
40
40
--mount type=bind,source=" ${input_dir} " ,destination=/solution \
41
41
--mount type=bind,source=" ${output_dir} " ,destination=/output \
42
42
--mount type=tmpfs,destination=/tmp \
43
- exercism/TRACK_SLUG -representer " ${slug} " /solution /output
43
+ exercism/replace-this-with-the-track-slug -representer " ${slug} " /solution /output
Original file line number Diff line number Diff line change 13
13
# ./bin/run-tests-in-docker.sh
14
14
15
15
# Build the Docker image
16
- docker build --rm -t exercism/TRACK_SLUG -representer .
16
+ docker build --rm -t exercism/replace-this-with-the-track-slug -representer .
17
17
18
18
# Run the Docker image using the settings mimicking the production environment
19
19
docker run \
@@ -25,4 +25,4 @@ docker run \
25
25
--volume " ${PWD} /bin/run-tests.sh:/opt/representer/bin/run-tests.sh" \
26
26
--workdir /opt/representer \
27
27
--entrypoint /opt/representer/bin/run-tests.sh \
28
- exercism/TRACK_SLUG -representer
28
+ exercism/replace-this-with-the-track-slug -representer
You can’t perform that action at this time.
0 commit comments