diff options
| author | codecrafters-bot <hello@codecrafters.io> | 2024-05-31 23:53:46 +0000 |
|---|---|---|
| committer | codecrafters-bot <hello@codecrafters.io> | 2024-05-31 23:53:46 +0000 |
| commit | a44c04461463d7c8c3798fbd29ea16a5d56d4de7 (patch) | |
| tree | 64cb0c5d23429d202fb3459566fd536228f57856 /your_git.sh | |
| download | git-go-a44c04461463d7c8c3798fbd29ea16a5d56d4de7.tar.gz git-go-a44c04461463d7c8c3798fbd29ea16a5d56d4de7.zip | |
init [skip ci]
Diffstat (limited to 'your_git.sh')
| -rwxr-xr-x | your_git.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/your_git.sh b/your_git.sh new file mode 100755 index 0000000..4c2c367 --- /dev/null +++ b/your_git.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 -buildvcs="false" -o "$tmpFile" ./cmd/mygit ) + +exec "$tmpFile" "$@" |