mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: support VMODULES environment variable (defaulting to ~/.vmodules)
This commit is contained in:
@@ -552,7 +552,7 @@ fn init_settings() {
|
||||
s.is_help = '-h' in os.args || '--help' in os.args || 'help' in os.args
|
||||
s.is_verbose = '-v' in os.args
|
||||
s.server_urls = cmdline.options(os.args, '-server-url')
|
||||
s.vmodules_path = os.join_path(os.home_dir(), '.vmodules')
|
||||
s.vmodules_path = os.vmodules_dir()
|
||||
}
|
||||
|
||||
fn verbose_println(s string) {
|
||||
|
||||
Reference in New Issue
Block a user