fix: compile with selected V version

This commit is contained in:
Jef Roosens 2023-02-15 20:07:07 +01:00
parent 4dc82515f4
commit 455f3b5f41
5 changed files with 14 additions and 14 deletions

View file

@ -6,7 +6,7 @@ import os
import build
// build locally builds the target with the given id.
fn build(conf Config, target_id int, force bool) ! {
fn build_target(conf Config, target_id int, force bool) ! {
c := client.new(conf.address, conf.api_key)
target := c.get_target(target_id)!

View file

@ -251,7 +251,7 @@ pub fn cmd() cli.Command {
c := client.new(conf_.address, conf_.api_key)
c.queue_job(target_id, arch, force)!
} else {
build(conf_, target_id, force)!
build_target(conf_, target_id, force)!
}
}
},