Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: run v fmt -w . in project root (is vfmt drunk?) #305

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading