vpkg-project/vpkg

Compile error

Opened this issue · 3 comments

PS E:\code\v> v build .\vpkg
vpkg\api\lockfile.v:36:5: error: unexpected lock, expecting name
34 |
35 | fn get_lockfile_path(dir string) string {
36 | return os.join_path(dir, '.vpkg-lock.json')
| ~~~~
37 | }
38 |

@ChildishGiant haven't updated vpkg for a while. I have a rewrite in the works. Will fix it asap

@ChildishGiant haven't updated vpkg for a while. I have a rewrite in the works. Will fix it asap

Is this project no longer maintained?

C:\vpkg>v -prod .
api\lockfile.v:58:5: error: unexpected keyword lock, expecting name
56 | }
57 |
58 | fn (lock Lockfile) find_package(name string) int {
| ~~~~
59 | for idx, package in lock.packages {
60 | if package.name == name {