mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
V 0.4
This commit is contained in:
parent
ee9deb121a
commit
e407579e99
2
v.mod
2
v.mod
@ -1,7 +1,7 @@
|
||||
Module {
|
||||
name: 'V'
|
||||
description: 'The V programming language.'
|
||||
version: '0.3.5'
|
||||
version: '0.4.0'
|
||||
license: 'MIT'
|
||||
repo_url: 'https://github.com/vlang/v'
|
||||
dependencies: []
|
||||
|
@ -1,5 +1,5 @@
|
||||
Module {
|
||||
name: 'semver'
|
||||
version: '0.3.5'
|
||||
version: '0.4.0'
|
||||
deps: []
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ module version
|
||||
|
||||
import os
|
||||
|
||||
pub const v_version = '0.3.5'
|
||||
pub const v_version = '0.4.0'
|
||||
|
||||
// vhash() returns the build string C.V_COMMIT_HASH . See cmd/tools/gen_vc.v .
|
||||
pub fn vhash() string {
|
||||
|
@ -8,7 +8,7 @@ fn test_ok() {
|
||||
ok_source := "Module {
|
||||
name: 'V'
|
||||
description: 'The V programming language.'
|
||||
version: '0.3.5'
|
||||
version: '0.7.7'
|
||||
license: 'MIT'
|
||||
repo_url: 'https://github.com/vlang/v'
|
||||
dependencies: []
|
||||
@ -18,7 +18,7 @@ fn test_ok() {
|
||||
content := vmod.decode(s)?
|
||||
assert content.name == 'V'
|
||||
assert content.description == 'The V programming language.'
|
||||
assert content.version == '0.3.5'
|
||||
assert content.version == '0.7.7'
|
||||
assert content.license == 'MIT'
|
||||
assert content.repo_url == 'https://github.com/vlang/v'
|
||||
assert content.dependencies == []
|
||||
|
Loading…
Reference in New Issue
Block a user