anchor.diff:          Build (git describe --tags) ""
       }
       "debug" {
  +        $private:save = $env:GOARCH
  +        if( $args[1] ){
  +            $env:GOARCH = $args[1]
  +        }
           Build "" "-tags=debug"
  +        $env:GOARCH = $save
       }
       "release" {
  -        Build (Get-Content Misc\version.txt) ""
  -    }
  -    "386" {
           $private:save = $env:GOARCH
  -        $env:GOARCH = "386"
  -        Build "" ""
  -        $env:GOARCH = $save
  -    }
  -    "386release" {
  -        $private:save = $env:GOARCH
  -        $env:GOARCH = "386"
  -        Build (Get-Content Misc\version.txt) ""
  -        $env:GOARCH = $save
  -    }
  -    "amd64" {
  -        $private:save = $env:GOARCH
  -        $env:GOARCH = "amd64"
  +        if( $args[1] ){
  +            $env:GOARCH = $args[1]
  +        }
           Build (Get-Content Misc\version.txt) ""
           $env:GOARCH = $save
       }
  
positive.code:     }) -split " " | ForEach-Object{ $_ -replace [char]1," " })
  
  set CMD "Cmd" -option constant
  set LUA64URL "https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Dynamic/lua-5.3.4_Win64_dllw4_lib.zip/download" -option constant
  set LUA32URL "https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Dynamic/lua-5.3.4_Win32_dllw4_lib.zip/download" -option constant
  
  Set-PSDebug -strict
  $VerbosePreference = "Continue"
  
negative.code:             }
          }
      }
      "get-lua" {
          $goarch = if( $args[1] ){ $args[1] } else { (Get-GoArch) }
          Get-Lua ($LUAURL[ $goarch ]) $goarch
      }
      "help" {
          Write-Output @'
  make                     build as snapshot
  make debug   [386|amd64] build as debug version     (tagged as `debug`)
  make release [386|amd64] build as release version
  make status              show version information 
  make vet                 do `go vet` on each folder
  make clean               remove all work files
  make sweep               remove *.bak and *.~
  make const               make `const.go`. gcc is required
  make package [386|amd64] make `nyagos-(VERSION)-(ARCH).zip`
  make install [FOLDER]    copy executables to FOLDER or last folder
  make generate            execute `go generate` on the folder it required
  make fmt                 `go fmt`
  make check-case [FILE]
  make get-lua [386|amd64] download Lua 5.3 for current architecture
  make help                show this
  '@
      }
      default {
  