Update to newest V version #260
|
@ -96,6 +96,14 @@ SigLevel = Optional
|
||||||
Afterwards, you can update your system & install the `vieter` package for the
|
Afterwards, you can update your system & install the `vieter` package for the
|
||||||
latest official release or `vieter-git` for the latest development release.
|
latest official release or `vieter-git` for the latest development release.
|
||||||
|
|
||||||
|
### AUR
|
||||||
|
|
||||||
|
If you prefer building the packages locally (or on your own Vieter instance),
|
||||||
|
there's the `[vieter](https://aur.archlinux.org/packages/vieter)` &
|
||||||
|
`[vieter-git](https://aur.archlinux.org/packages/vieter-git)` packages on the
|
||||||
|
AUR. These packages build using the `vlang-git` compiler package, so I can't
|
||||||
|
guarantee that a compiler update won't temporarily break them.
|
||||||
|
|
||||||
## Building from source
|
## Building from source
|
||||||
|
|
||||||
The project [README](https://git.rustybever.be/vieter/vieter#building) contains
|
The project [README](https://git.rustybever.be/vieter/vieter#building) contains
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "archive.h"
|
#include "archive.h"
|
||||||
|
|
||||||
struct C.archive {}
|
pub struct C.archive {}
|
||||||
|
|
||||||
// Create a new archive struct for reading
|
// Create a new archive struct for reading
|
||||||
fn C.archive_read_new() &C.archive
|
fn C.archive_read_new() &C.archive
|
||||||
|
@ -71,7 +71,7 @@ fn C.archive_filter_code(&C.archive, int) int
|
||||||
|
|
||||||
#include "archive_entry.h"
|
#include "archive_entry.h"
|
||||||
|
|
||||||
struct C.archive_entry {}
|
pub struct C.archive_entry {}
|
||||||
|
|
||||||
// Create a new archive_entry struct
|
// Create a new archive_entry struct
|
||||||
fn C.archive_entry_new() &C.archive_entry
|
fn C.archive_entry_new() &C.archive_entry
|
||||||
|
|
|
@ -3,7 +3,7 @@ module db
|
||||||
import sqlite
|
import sqlite
|
||||||
import time
|
import time
|
||||||
|
|
||||||
struct VieterDb {
|
pub struct VieterDb {
|
||||||
conn sqlite.DB
|
conn sqlite.DB
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import os
|
||||||
import util
|
import util
|
||||||
|
|
||||||
// Represents a read archive
|
// Represents a read archive
|
||||||
struct Pkg {
|
pub struct Pkg {
|
||||||
pub:
|
pub:
|
||||||
path string [required]
|
path string [required]
|
||||||
info PkgInfo [required]
|
info PkgInfo [required]
|
||||||
|
|
Loading…
Reference in New Issue