mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
Updated to Vlang 0.3.3
This commit is contained in:
parent
86d897d580
commit
4c45648a79
5 changed files with 34 additions and 0 deletions
14
packages/vlang/0.3.3/run
vendored
Normal file
14
packages/vlang/0.3.3/run
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Export environment variables
|
||||
export VMODULES="$PWD"
|
||||
export TMPDIR="$PWD"
|
||||
|
||||
# Put instructions to run the runtime
|
||||
|
||||
filename=$1
|
||||
|
||||
rename 's/$/\.v/' $filename # Add .v extension
|
||||
|
||||
shift
|
||||
v run $filename.v "$@"
|
Loading…
Add table
Add a link
Reference in a new issue