codecrafters-http-server-go/your_server.sh

12 lines
210 B
Bash
Raw Normal View History

2024-05-24 22:03:55 +02:00
#!/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)
go build -o "$tmpFile" app/*.go
exec "$tmpFile" "$@"