mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: vfmt compile.v
This commit is contained in:
parent
8f85396a31
commit
296a6095a4
@ -25,7 +25,7 @@ fn get_vtmp_folder() string {
|
|||||||
fn get_vtmp_filename(base_file_name string, postfix string) string {
|
fn get_vtmp_filename(base_file_name string, postfix string) string {
|
||||||
vtmp := get_vtmp_folder()
|
vtmp := get_vtmp_folder()
|
||||||
uniq := rand.u64()
|
uniq := rand.u64()
|
||||||
return os.real_path(os.join_path(vtmp, os.file_name(os.real_path(base_file_name)) + '.${uniq}${postfix}'))
|
return os.real_path(os.join_path(vtmp, os.file_name(os.real_path(base_file_name)) + '.$uniq$postfix'))
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn compile(command string, pref &pref.Preferences) {
|
pub fn compile(command string, pref &pref.Preferences) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user