Skip to content

Commit

Permalink
all: fix new format errors, run vfmt in project root
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon committed Sep 20, 2023
1 parent 496e2f5 commit e6f0655
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions android/package.v
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ fn package_apk(opt PackageOptions) ! {
'-S "' + res_path + '"',
'-J "' + src_path + '"',
'-A "' + assets_path + '"',
'-I "' + android_runtime + '"' /* '--target-sdk-version ${ANDROIDTARGET}' */,
'-I "' + android_runtime + '"', // TODO use '--target-sdk-version ${ANDROIDTARGET}' ?
]
util.verbosity_print_cmd(aapt_cmd, opt.verbosity)
util.run_or_error(aapt_cmd)!
Expand All @@ -207,7 +207,7 @@ fn package_apk(opt PackageOptions) ! {

mut javac_cmd := [
javac,
'-d obj', /* +obj_path, */
'-d obj', // NOTE `+obj_path` can be specified
'-source 1.7',
'-target 1.7',
'-classpath .',
Expand Down Expand Up @@ -297,7 +297,7 @@ fn package_apk(opt PackageOptions) ! {
'--verbose',
'--dex',
'--output=' + os.join_path('bin', 'classes.dex'),
'obj' /* obj_path, */,
'obj', // TODO specify obj_path ?
]
util.verbosity_print_cmd(dx_cmd, opt.verbosity)
util.run_or_error(dx_cmd)!
Expand Down Expand Up @@ -329,7 +329,7 @@ fn package_apk(opt PackageOptions) ! {
'-A "' + assets_path + '"',
'-I "' + android_runtime + '"',
'-F "' + tmp_unaligned_product + '"',
'bin' /* bin_path */,
'bin', // TODO specify bin_path ?
]
util.verbosity_print_cmd(aapt_cmd, opt.verbosity)
util.run_or_error(aapt_cmd)!
Expand Down
2 changes: 1 addition & 1 deletion cmd/complete.v
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const (
'-g',
'-cg',
'-prod',
'-showcc'
'-showcc',
// vab flags
'--verbosity',
'-v',
Expand Down

0 comments on commit e6f0655

Please sign in to comment.