mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
$if mac => $if macos
This commit is contained in:
parent
ff80e3a5fa
commit
f192429c8a
4 changed files with 9 additions and 9 deletions
|
@ -396,7 +396,7 @@ start:
|
|||
ret2 := os.system('upx --lzma -qqq $v.out_name')
|
||||
if ret2 != 0 {
|
||||
println('upx failed')
|
||||
$if mac {
|
||||
$if macos {
|
||||
println('install upx with `brew install upx`')
|
||||
}
|
||||
$if linux {
|
||||
|
@ -539,7 +539,7 @@ fn missing_compiler_info() string {
|
|||
$if linux {
|
||||
return 'On Debian/Ubuntu, run `sudo apt install build-essential`'
|
||||
}
|
||||
$if mac {
|
||||
$if macos {
|
||||
return 'Install command line XCode tools with `xcode-select --install`'
|
||||
}
|
||||
return ''
|
||||
|
|
|
@ -945,7 +945,7 @@ pub fn new_v(args[]string) &V {
|
|||
$if linux {
|
||||
_os = .linux
|
||||
}
|
||||
$if mac {
|
||||
$if macos {
|
||||
_os = .mac
|
||||
}
|
||||
$if windows {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue