Merge branch 'master' into perl-5.36.0
This commit is contained in:
commit
d4fff15197
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Cloning vlang source
|
||||||
|
git clone https://github.com/vlang/v
|
||||||
|
cd v
|
||||||
|
|
||||||
|
# Building and installing vlang
|
||||||
|
make
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put 'export' statements here for environment variables
|
||||||
|
export PATH="$PWD/v:$PATH"
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "vlang",
|
||||||
|
"version": "0.3.3",
|
||||||
|
"aliases": ["v"]
|
||||||
|
}
|
|
@ -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 "$@"
|
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println('OK')
|
||||||
|
}
|
Loading…
Reference in New Issue