forked from rosa/hakurei
internal/rosa: improve helper bindings
This uses more intuitive names for some arguments and inverts their default value. Slices and nil-capable strings replace skip arguments. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -32,7 +32,7 @@ package hakurei {
|
||||
};
|
||||
|
||||
exec = generic {
|
||||
inPlace = true;
|
||||
chdir = false;
|
||||
build = `
|
||||
echo 'Building test helper (hostname).'
|
||||
go build -o /bin/hostname /usr/src/hostname/main.go
|
||||
@@ -103,7 +103,7 @@ package hakurei-dist {
|
||||
};
|
||||
|
||||
exec = generic {
|
||||
inPlace = true;
|
||||
chdir = false;
|
||||
build = `
|
||||
echo 'Building test helper (hostname).'
|
||||
go build -o /bin/hostname /usr/src/hostname/main.go
|
||||
@@ -146,7 +146,7 @@ package earlyinit {
|
||||
];
|
||||
|
||||
exec = generic {
|
||||
inPlace = true;
|
||||
chdir = false;
|
||||
build = `
|
||||
echo '# Building earlyinit.'
|
||||
go build -trimpath -v -o /work/ -ldflags="-s -w
|
||||
|
||||
Reference in New Issue
Block a user