pkg(vlang-0.1.13): Add vlang 0.1.13 (#177)
* pkg(vlang-0.1.13): Add vlang 0.1.13 * Export environment variables: VMODULES and TMPDIR environment vars to the current working dir in the run script. Co-authored-by: Shivansh-007 <Shivansh-007@users.noreply.github.com>
This commit is contained in:
parent
d85f1d2c5b
commit
332a077f46
|
@ -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,6 @@
|
||||||
|
{
|
||||||
|
"language": "vlang",
|
||||||
|
"version": "0.1.13",
|
||||||
|
"author": "Shivansh-007 <shivansh-007@outlook.com>",
|
||||||
|
"aliases": ["v"]
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Export environment variables
|
||||||
|
export VMODULES="$PWD"
|
||||||
|
export TMPDIR="$PWD"
|
||||||
|
|
||||||
|
# Put instructions to run the runtime
|
||||||
|
v run "$@"
|
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println('OK')
|
||||||
|
}
|
Loading…
Reference in New Issue