piston/packages/go/1.20.1/run

8 lines
104 B
Bash

#!/usr/bin/env bash
mv $1 $1.go
#filename=$1.go
filename=*.go
shift
GOCACHE=$PWD go run $filename "$@"