piston/packages/go/1.22.2/run

7 lines
88 B
Bash

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