diff options
| author | codecrafters-bot <hello@codecrafters.io> | 2024-06-03 16:03:29 +0000 |
|---|---|---|
| committer | codecrafters-bot <hello@codecrafters.io> | 2024-06-03 16:03:29 +0000 |
| commit | afe50dd881ca58c6331cc84b151df9bafd9e82e2 (patch) | |
| tree | 82d841a151c33544bed4b61d763b813955775649 /your_bittorrent.sh | |
| download | bittorrent-go-afe50dd881ca58c6331cc84b151df9bafd9e82e2.tar.gz bittorrent-go-afe50dd881ca58c6331cc84b151df9bafd9e82e2.zip | |
init [skip ci]
Diffstat (limited to 'your_bittorrent.sh')
| -rwxr-xr-x | your_bittorrent.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/your_bittorrent.sh b/your_bittorrent.sh new file mode 100755 index 0000000..60315cc --- /dev/null +++ b/your_bittorrent.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# +# DON'T EDIT THIS! +# +# CodeCrafters uses this file to test your code. Don't make any changes here! +# +# DON'T EDIT THIS! +set -e + +tmpFile=$(mktemp) + +( cd $(dirname "$0") && + go build -o "$tmpFile" ./cmd/mybittorrent ) + +exec "$tmpFile" "$@" |