31 lines
375 B
YAML
31 lines
375 B
YAML
id: "v"
|
|
aliases:
|
|
- "vlang"
|
|
name: "V"
|
|
|
|
install:
|
|
manual: |
|
|
git clone https://github.com/vlang/v.git
|
|
pushd v
|
|
make
|
|
cp v ${pkg}/usr/local/bin
|
|
popd
|
|
|
|
main: "main.v"
|
|
template: |
|
|
fn main() {
|
|
println('Hello, world!')
|
|
}
|
|
|
|
compile: |
|
|
v run main.v
|
|
|
|
format:
|
|
run: |
|
|
v fmt -w main.v
|
|
input: |
|
|
fn main()
|
|
{
|
|
println("Hello, world!")
|
|
}
|