Skip to content

Commit

Permalink
all: run v fmt -w . in project root (is vfmt drunk?) (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon authored Sep 18, 2024
1 parent 928e640 commit ef105e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions cli/cli.v
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub const vab_documentation_config = flag.DocConfig{
options: flag.DocOptions{
compact: true
}
fields: {
fields: {
'--gles-version': 'GLES version to use from any of ${android.supported_gles_versions}'
'--package-format': 'App package format. Any of ${android.supported_package_formats}'
'--archs': 'Comma separated string with any of:\n${android.default_archs}'
Expand Down Expand Up @@ -172,10 +172,11 @@ pub fn args_to_options(arguments []string, defaults Options) !(Options, &flag.Fl
package_id: fp.string('package-id', 0, defaults.package_id, 'App package ID (e.g. "org.company.app")')
package_overrides_path: fp.string('package-overrides', 0, defaults.package_overrides_path,
'Package file overrides path (e.g. "/tmp/java")')
package_format: fp.string('package', `p`, defaults.package_format, 'App package format. Any of ${android.supported_package_formats}')
activity_name: fp.string('activity-name', 0, defaults.activity_name, 'The name of the main activity (e.g. "VActivity")')
icon: fp.string('icon', 0, defaults.icon, 'App icon')
version_code: fp.int('version-code', 0, defaults.version_code, 'Build version code (android:versionCode)')
package_format: fp.string('package', `p`, defaults.package_format, 'App package format. Any of ${android.supported_package_formats}')
activity_name: fp.string('activity-name', 0, defaults.activity_name,
'The name of the main activity (e.g. "VActivity")')
icon: fp.string('icon', 0, defaults.icon, 'App icon')
version_code: fp.int('version-code', 0, defaults.version_code, 'Build version code (android:versionCode)')
//
output: fp.string('output', `o`, defaults.output, 'Path to output (dir/file)')
//
Expand Down
4 changes: 2 additions & 2 deletions cli/options.v
Original file line number Diff line number Diff line change
Expand Up @@ -847,8 +847,8 @@ pub fn (opt &Options) as_android_deploy_options() !android.DeployOptions {
} else {
android.LogMode.filtered
}
log_tags: log_tags
run: run
log_tags: log_tags
run: run
}

return deploy_opt
Expand Down

0 comments on commit ef105e6

Please sign in to comment.