Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ rubocop:

test: target/docker-image.txt
img=$$(cat target/docker-image.txt)
docker run --rm --entrypoint '/bin/bash' "$${img}" -c 'bundle exec judges test --disable live --lib /action/lib /action/judges'
echo "$$?" > target/test.exit
docker run --rm --entrypoint '/bin/bash' "$${img}" -c 'bundle exec judges test --disable live --lib /action/lib /action/judges' || rc=$$?
echo "$${rc:-0}" > target/test.exit

entry: target/docker-image.txt
./test-action.sh "$$(cat $<)"
echo "$$?" > target/entry.exit
./test-action.sh "$$(cat $<)" || rc=$$?
echo "$${rc:-0}" > target/entry.exit

rmi: target/docker-image.txt
img=$$(cat $<)
Expand Down
Loading