mirror of
https://git.sr.ht/~eliasnaur/gio-cmd
synced 2026-07-01 07:35:37 +00:00
Revert "gogio: refuse compilation with additional arguments"
Build arguments are passed to the program, which is useful for platforms where there is no other way to pas them (Android, iOS). Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -65,9 +65,6 @@ func flagValidate() error {
|
||||
if pkgPathArg == "" {
|
||||
return errors.New("specify a package")
|
||||
}
|
||||
if len(flag.Args()) > 1 {
|
||||
return fmt.Errorf("build arguments must be specified before the package (%q)", pkgPathArg)
|
||||
}
|
||||
if *target == "" {
|
||||
return errors.New("please specify -target")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user