vlang extension
This commit is contained in:
parent
594ee7d436
commit
ecfdfa52de
|
@ -5,4 +5,9 @@ export VMODULES="$PWD"
|
|||
export TMPDIR="$PWD"
|
||||
|
||||
# Put instructions to run the runtime
|
||||
v run "$@"
|
||||
|
||||
rename 's/$/\.v/' "$@" # Add .v extension
|
||||
|
||||
filename=$1.v
|
||||
shift
|
||||
v run $filename "$@"
|
Loading…
Reference in New Issue