mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
vlang extension
This commit is contained in:
parent
594ee7d436
commit
ecfdfa52de
1 changed files with 6 additions and 1 deletions
7
packages/vlang/0.1.13/run
vendored
7
packages/vlang/0.1.13/run
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue