1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-02 01:46:28 +02:00

Fixed Go multiple file problem

This commit is contained in:
yrfriend 2021-07-08 21:15:37 +03:00
parent c1fd13b672
commit 8900bae7c0

View file

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